Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set version on a windows service

I have a windows service that is installed using a setup project. Things work fine but I would like to be able to set the version of the service as I do with the AssemblyVersion of my assemblies.

The only place where I have been able to see this version number is in the version column in the listing of applications in the add or remove applications dialogue.

like image 397
Jeep Avatar asked Oct 24 '25 04:10

Jeep


2 Answers

  1. In the solution explorer highlight your setup project.
  2. Then select your "Properties" tab. (not right click the project, this is counter intuitive)
  3. Find version number at the bottom, when asked to change the product code, select yes.
  4. That should be it.

Hope that helps.

Paul

like image 121
Paulie Waulie Avatar answered Oct 25 '25 18:10

Paulie Waulie


Yes, As Paul said

  1. In the solution explorer highlight your setup project.
  2. Press F4 or open "Properties" tab from View option of Menu of VS. (not by right clicking the project).
  3. You can find version number at the bottom and other options like Product name etc.

I tried it and it worked.. :)

like image 24
Srikanth Dornala Avatar answered Oct 25 '25 18:10

Srikanth Dornala