Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

In my application the version is not changing
Please help me , what may be the reason??

thanks in advance
Posted
Comments
Sandeep Mewara 23-Jun-11 5:35am    
You expect it to change automatically by itself?
SwaxRak 24-Jun-11 1:28am    
Yes... how to do

Are you setting the version your self? You can achieve this by modifying the value of the AssemblyVersion Attribute attribute in the project's AssemblyInfo.cs file.

e.g. [assembly: AssemblyVersion("1.1.*")]
 
Share this answer
 
 
Share this answer
 
Comments
[no name] 22-Jun-11 0:32am    
Nice solution, but is pretty worthless unless you get the T4 template to re-generate the class on every build.
[no name] 22-Jun-11 1:08am    
That's true. but the question is not too specific. I think that link might help him.
The best practice is that set the versions your self by modifying AssemblyInfo.cs file.
Or you can use this Updating the Assembly Version[^] and How To Update Assembly Version Number Automatically[^]
 
Share this answer
 
Hope this[^] might help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900