why won't the build number auto increment?

J

Jesse

My project's AssemblyInfo.vb file says:

<Assembly: AssemblyVersion("1.0.*")>

But when I rebuild, I keep getting the same old build number.

Any idea why?
 
T

Tim Wilson

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/tdlg_ch5.asp

"Note For a Microsoft Visual Basic® .NET project with an AssemblyVersion
set to "1.0.*", the assembly version is only updated the first time the
project is rebuilt within the Visual Studio .NET integrated development
environment (IDE). The version number remains constant for subsequent
rebuilds within the same instance of Visual Studio .NET. This does not
represent a problem because the assembly version is for information only in
assemblies that do not have a strong name. For strong named assemblies, you
should avoid the use of wild characters in the AssemblyVersion attribute, as
explained in the following section.

For C# projects with an AssemblyVersion set to "1.0.*", the assembly version
is updated every time the project is rebuilt."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top