C# Library Version

May 24, 2011

Colleting this from different sources. Looking for a library version similar to __DATE__ __TIME__ you need to use:System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() For this to change every build you need to go to project properties, 'Application' tab, open 'Assembly Information', and set the last value in 'Assembly Version' to * so instead of Assembly Version of it should be 1.0.0.* ; This will cause an increment for every build (to verify modify code or rebuild).
tags: ,
no comments