locked
About box gives wrong version RRS feed

  • Question

  • when using the AboutBox1.show, during runtime it gives the wrong version number. My current version is 2.0.0.4 but it reports 2.0.1.0

    code is   AboutBox1.Show()

    WHY wrong version number?

    How to get it right?

    Sunday, October 6, 2013 6:38 PM

Answers

All replies

  • Where did you specify version 2.0.0.4?

    If I change it in the project properties -> application -> assembly information -> assembly version, it is also reflected in the about box.


    Armin

    • Proposed as answer by IronRazerz Sunday, October 6, 2013 7:26 PM
    Sunday, October 6, 2013 6:47 PM
  • In publish folder in VB2010
    Sunday, October 6, 2013 6:57 PM
  • Does this also mean that I have to manually update the version each time?
    Sunday, October 6, 2013 7:00 PM

  • You can specify the asterisk for automatic version numbers. See the remarks section here: AssemblyVersionAttribute Class



    Armin

    Sunday, October 6, 2013 7:14 PM
  • Much obliged! Didn't know about that.
    Sunday, October 6, 2013 7:21 PM