473,507 Members | 2,388 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 2236
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**************@TK2MSFTNGP11.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.REMOVE!> wrote in message
news:O8**************@TK2MSFTNGP11.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**************@TK2MSFTNGP11.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*****@hotmail.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.REMOVE!> wrote in message
news:O8**************@TK2MSFTNGP11.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**************@TK2MSFTNGP11.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.Reflection;

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

class TestIncrement {
public static void Main() {
Console.WriteLine(typeof(TestIncrement).Assembly.G etName().Version);
}
}

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
2259
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...
1
1743
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....
5
2350
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...
0
6073
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...
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
4364
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...
58
4608
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...
3
4628
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...
3
3557
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...
0
7111
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...
0
7319
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,...
0
7376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7031
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5042
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...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
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...
1
760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.