In visual Studio 2008, the following works.
Find the AssemblyInfo.cs file and find these 2 lines:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
You could try changing this to:
[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyFileVersion("1.0.*")]
But this won't give you the desired result, you will end up with a Product Version of 1.0.* and a File Version of 1.0.0.0. Not what you want!
However, if you remove the second of these lines and just have:
[assembly: AssemblyVersion("1.0.*")]
Then the compiler will set the File Version to be equal to the Product Version and you will get your desired result of an automatically increment product and file version which are in sync. E.g.1.0.3266.92689
----------------------------------------------
For Visual Studio: Check if your project has a folder contains a file AssemblyInfo.cs (usually in a subfolder called properties). Open it if it does.
If it does not, then go to project properties -> Application -> Assembly information, a popup screen will appear
Add title (for example): Landis.Library.Succession
Description: can be empty
Company: can be empty
Product: can be empty
Copyright: can be empty
Trademark : can be empty
Assemblyversion: See below
Fileversion: all zeros
GUID leave empty
--
You received this message because you are subscribed to the Google Groups "LANDIS-II Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to landis-ii-develo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.