How do I control file version numbers

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim H

    How do I control file version numbers

    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


  • Ashot Geodakov

    #2
    Re: How do I control file version numbers

    Please read the description of System.Reflecti on.AssemblyVers ionAttribute
    class in MSDN, it explains these numbers and how you can control them.

    "Jim H" <jimh@nospam.no spamwrote in message
    news:eTGILURXHH A.1036@TK2MSFTN GP03.phx.gbl...
    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
    >

    Comment

    • Walter Wang [MSFT]

      #3
      RE: How do I control file version numbers

      Hi Jim,

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

      #AssemblyVersio nAttribute Class (System.Reflect ion)
      Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

      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:



      Let us know if you need anything else.

      Sincerely,
      Walter Wang (wawang@online. microsoft.com, remove 'online.')
      Microsoft Online Community Support

      =============== =============== =============== =====
      Get notification to my posts through email? Please refer to
      Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

      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/subscripti...t/default.aspx.
      =============== =============== =============== =====

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

      Comment

      Working...