I set up a setup (installer) project in my solution and there is the version there 1.0.0.
My question is, how does the version-ing work?
What does each number mean and how does it increase? Can anyone give me an insight on how this numbering system work?
Lastly, how would I go about displaying the version number on my form?
I tried:
Assembly.GetExecutingAssembly().GetName().Version;
But this is showing 1.0.0.0 and not the version I put into the installer (1.2).
What’s the correct way to deal with version numbers?
The version you are trying to retrieve with
Assembly.GetExecutingAssembly().GetName().Versionneeds to be set in Project Properties, Assembly Information.Information about Version Numbers can be found here.