Update components version

  • Thread starter Thread starter Mohammad-Reza
  • Start date Start date
M

Mohammad-Reza

Hi
How can I update version of components in VS2003 rather than replace every
instance of that component with newer version.
 
Ivf you look in the AssemblyInfo.cs (assuming you are using C#) you will see

[assembly: AssemblyVersion("1.0.*")]

this generates a unique incrementing version numberon every build. Change it to:

[assembly: AssemblyVersion("1.0.0.0")]

This fully specifies the version number which you can change as and when it makes sense to do so.

Regards

Richard Blewett - DevelopMentor

http://staff.develop.com/richardb/weblog

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<#[email protected]>

Hi
How can I update version of components in VS2003 rather than replace every
instance of that component with newer version.



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 10/09/2004



[microsoft.public.dotnet.languages.csharp]
 
Back
Top