How do I control file version numbers

J

Jim H

My AssemblyInfo file has [assembly: AssemblyVersion("1.0.*")]

My file version is now 1.0.2594.35196

How do I control this. Where is this stored? What is the difference
between build and revision?

Thanks in advance,
jim
 
A

Ashot Geodakov

Please read the description of System.Reflection.AssemblyVersionAttribute
class in MSDN, it explains these numbers and how you can control them.
 
W

Walter Wang [MSFT]

Hi Jim,

As Ashot pointed out, you could find the information here:

#AssemblyVersionAttribute Class (System.Reflection)
http://msdn2.microsoft.com/en-us/library/system.reflection.assemblyversionat
tribute.aspx

In your case, "1.0.*" means use default build and revision numbers; since
the default build number increments daily and the default revision number
is random, you get 1.0.2594.35196.

For the difference between build and revision, you might want to take a
look at following page:

http://en.wikipedia.org/wiki/Software_versioning

Let us know if you need anything else.

Sincerely,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top