473,663 Members | 2,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automatic build number broken?

Hi.

I'm using automatic increase on the assembly build number. Only problem is
it's doesn't increase. Anyone know what might cause this?

In AssemblyInfo.cs :

[assembly: AssemblyVersion ("1.0.*")]

Thanks!

/David.
Nov 15 '05 #1
6 2256
I believe the project system is 'smart' enough to not even invoke the
compiler if none of the sources have changed since the last build. Try
changing a file (like adding a blank line and then deleting it) and the
build again to see if it changes.

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 15 '05 #2
Well, I'm working on my code every day and it stopped increasing looong time
ago. So that's not it.

"Grant Richins [MS]" <gr*****@online .microsoft.com> skrev i meddelandet
news:ev******** ******@TK2MSFTN GP11.phx.gbl...
I believe the project system is 'smart' enough to not even invoke the
compiler if none of the sources have changed since the last build. Try
changing a file (like adding a blank line and then deleting it) and the
build again to see if it changes.

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 15 '05 #3
Just for the fun of it, can you try editing the file that has the
AssemblyVersion attribute?

Also what version number did it stop on?

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 15 '05 #4
Assuming it worked before, try deleting the obj folder then redo the build.

-Angie

"David Lindgren" <da************ @hogia.se.REMOV E!> wrote in message
news:O8******** ******@TK2MSFTN GP11.phx.gbl...
Well, I'm working on my code every day and it stopped increasing looong time ago. So that's not it.

"Grant Richins [MS]" <gr*****@online .microsoft.com> skrev i meddelandet
news:ev******** ******@TK2MSFTN GP11.phx.gbl...
I believe the project system is 'smart' enough to not even invoke the
compiler if none of the sources have changed since the last build. Try
changing a file (like adding a blank line and then deleting it) and the
build again to see if it changes.

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no

rights.


Nov 15 '05 #5
Unfortunately that didn't work either :-(

/David.

"Angie Ye" <ay*****@hotmai l.com> skrev i meddelandet
news:bl******** **@sun-news.laserlink. net...
Assuming it worked before, try deleting the obj folder then redo the build.
-Angie

"David Lindgren" <da************ @hogia.se.REMOV E!> wrote in message
news:O8******** ******@TK2MSFTN GP11.phx.gbl...
Well, I'm working on my code every day and it stopped increasing looong

time
ago. So that's not it.

"Grant Richins [MS]" <gr*****@online .microsoft.com> skrev i meddelandet
news:ev******** ******@TK2MSFTN GP11.phx.gbl...
I believe the project system is 'smart' enough to not even invoke the
compiler if none of the sources have changed since the last build. Try changing a file (like adding a blank line and then deleting it) and the build again to see if it changes.

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no

rights.



Nov 15 '05 #6
So is it just the one project that doesn't increment? Can you create a new
console project just like this and see if it works:

using System;
using System.Reflecti on;

[assembly: AssemblyVersion ("1.0.*")]

class TestIncrement {
public static void Main() {
Console.WriteLi ne(typeof(TestI ncrement).Assem bly.GetName().V ersion);
}
}

Then compile and run it multiple times to see if it changes?

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2265
by: Phil | last post by:
I realize this is the php group, but I have a question that recurses back to my php install. My objective is a pure 64 bit shared object installation of php 5.0 on UltraSparc Solaris 9 compiled with the Sun Compiler version 8. My problem is that EVERYTHING builds great EXCEPT that the 6b distribution of JPEG will NOT build a shared object, thus gd cannot include support for JPEG, thus php loses that functionality.
1
1751
by: | last post by:
Hi! Can someone tell me can I use MsBuild with NuNit today? Or is MsBuild only available for MSDN subscriptions ? Or what do you use for an automatic build process + automatic NuNit testing. I looking for a 2 in 1 solution (build + NuNit)
5
2367
by: Shane | last post by:
I wonder if someone has any ideas about the following. I am currently producing some reports for a manufacturing company who work with metal. A finished part can contain multiple sub-parts to make up the finished part. The sub-parts can also be made up of sub-parts and those sub-parts can also be made up of sub-parts etc etc. All parts are contained within the same table and I have a seperate table
0
6092
by: Anders W. Pedersen | last post by:
Hi there! I'm working on a medium-sized .NET web application written in c#. We are using Visual Studio 2003 for development and Visual Source Safe as our code repository. Occasionally, we do a build and a deployment to our production server using a batch script which extracts the latest version of our code from VSS, compiles it and copies it onto the production server. All that is good and well, but I would like to add a small feature to...
0
258
by: David Lindgren | last post by:
Hi. I'm using automatic increase on the assembly build number. Only problem is it's doesn't increase. Anyone know what might cause this? In AssemblyInfo.cs: Thanks!
3
4370
by: Henrik Dahl | last post by:
Hello! In VS.Net 2003 it was easy to make the build number to increase automatically at each build. Therefore it was easy to ensure that only one assembly would get a certain build number. I'm doing "No touch deployment" so it's particularly important that the versioning works as it should as assemblies otherwise do not get probed for. May some of you provide me with a hint on how to make the version number to increase automatically...
58
4646
by: Jorge Peixoto de Morais Neto | last post by:
I was reading the code of FFmpeg and it seems that they use malloc just too much. The problems and dangers of malloc are widely known. Malloc also has some overhead (although I don't know what is the overhead of automatic variable sized arrays, I suspect it is smaller than that of malloc), although I'm not too worried about it. I was thinking that, with C99's variable length arrays, malloc shouldn't be needed most of the time. But I'm...
3
4636
by: Peter Hofmann | last post by:
When I change the source code and save it I have currently always to press explicitely F6 zu "compile" the code (and get new error list). Isn't there an automatic build function which is called whenever I save new code ? BTW: What is the difference between the two menues: Build->Build solution and
3
3572
by: Fei Liu | last post by:
Hello, We all know that a template function can automatically deduce its parameter type and instantiate, e.g. template <tpyename T> void func(T a); func(0.f); This will cause func<floatto be instantiated. The user does not have
0
8437
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8348
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8861
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8636
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7375
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6187
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4185
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2764
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2003
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.