views:

96

answers:

1

how to setting-up visual studio 2010 to set as auto-increment version of project on each build? this feature isn't exist on vs2010?

+2  A: 

Change the AssemblyInfo.cs-File:

[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

to

[assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
Floyd
oh thanks it's perfect
Sadegh
The only problem is that the number replaced by * doesn't always increment.
Tomas Pajonk
1.0.* is always replaced with 1.0.{date}.{time] so it should be always be increment.
Floyd