0

In .net, how do I access the Version number from the Deployment Project Properties?

I know about the assembly version number but wanted to just change the version number in one place.

mikep
  • 1
  • 1
    Incomplete and unclear. When do you want to change it? Provide steps and example values. – H H Jan 23 '19 at 18:30
  • Sorry, I'm new to this. I did research this and found nothing that explained how can I read the version number in Deployment Project Properties with a c# program? – mikep Jan 23 '19 at 19:14
  • Check [This](https://stackoverflow.com/questions/3359974/how-to-include-version-number-in-vs-setup-project-output-filename) – NaDeR Star Jan 23 '19 at 19:39
  • After further reading, I now understand (partially anyway) that the version number in the Assemblyinfo file is the application version, while the version in the Deployment Project properties is the installer version. The former is accessible as Application.ProductVersion and can easily be displayed in the app. The latter shows up in add/remove programs, but one has to jump through hoops to use it in a program. I'll just keep these two versions the same. – mikep Jan 24 '19 at 13:27

0 Answers0