we will find Assembly version from Assembly.cs in every library.
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
My question is what is 1.0.0.0 meant by this?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As stated in the file itself:
By changing this the following way:
You’ll get an auto set of the last two sections (
Build NumberandRevision). And this auto-increment works as follows:Build Number: Days since 1.1.2000Revision: Seconds since midnight divided by twoAnd last but not least if you use Subversion for SourceControl you can create a template file (copy of the same file with other name) where you replace on a desired place something like this:
And within your pre-built event of your project you’ll enter something like this:
To get your current Subversion revision number into the version information of your application.