Results 1 to 4 of 4

Thread: the application version revision info doesnot increment after rebuilt..

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    the application version revision info doesnot increment after rebuilt..

    un-like in VS6, the application version revision info doesnot increment after rebuilt..
    please help

  2. #2
    Addicted Member Optional's Avatar
    Join Date
    Jan 2010
    Location
    Rudimentary Space
    Posts
    214

    Re: the application version revision info doesnot increment after rebuilt..

    If you are refering to a Desktop Application, have you replaced the value you wish to auto-increment with a * ?

    C# Code:
    1. // You can specify all the values or you can default the Build and Revision Numbers
    2. // by using the '*' as shown below:
    3. // [assembly: AssemblyVersion("1.0.*")]
    4. [assembly: AssemblyVersion("1.0.0.0")]
    5. [assembly: AssemblyFileVersion("1.0.0.0")]

    If you refering to a web application see this link:
    AssemblyVersion and Web Projects

    Hope this helps.



    Kind Regards,
    Optional



    If you feel this post has helped in answering your question please return the favour and Rate this post.
    If your problem has been solved and your question has been answered mark the thread as [RESOLVED] by selecting the Thread Tools menu option at the top and clicking the Mark Thread Resolved menu item.


    VB6 - (DataGrid) Get the Row selected with the right mouse button



  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    Re: the application version revision info doesnot increment after rebuilt..

    I have setted below:

    [assembly: AssemblyFileVersion("1.0.0.*")]

    but it does not work.. and got warning below:

    Warning 1 Assembly generation -- The version '1.0.0.*' specified for the 'file version' is not in the normal 'major.minor.build.revision' format NetComm


    what I missed?

    please help \, thanks

  4. #4
    Addicted Member Optional's Avatar
    Join Date
    Jan 2010
    Location
    Rudimentary Space
    Posts
    214

    Re: the application version revision info doesnot increment after rebuilt..

    The AssemblyFileVersion and AssemblyInformationalVersion attributes do not allow the use of '*'.

    To get your Assembly to auto generate the build and revision numbers use '*' in the AssemblyVersion attribute.

    C# Code:
    1. [assembly: AssemblyVersion("1.0.0.*")]

    Hope this helped.



    Kind Regards,
    Optional



    If you feel this post has helped in answering your question please return the favour and Rate this post.
    If your problem has been solved and your question has been answered mark the thread as [RESOLVED] by selecting the Thread Tools menu option at the top and clicking the Mark Thread Resolved menu item.


    VB6 - (DataGrid) Get the Row selected with the right mouse button



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width