Deployment project not updating .exe
- by Stuart Dunkeld
I have a Winforms project with a single .exe file as the primary output. I'm using a deployment project to distribute it, but the .exe file is not being updated when the new version is installed, meaning I have to ask the users to manually uninstall and then install the new version.
Here's what I'm doing:
I increment the assembly version on the output project (which is the primary output of the deployment project)
I increment the deployment project version (and update the product code when prompted)
The deployment project is set to remove previous versions
the 'Permanent' property on the .exe is set to False
I'm sure I've done this before successfully, but I can't seem to do it now. What am I doing wrong?
Edit: I got it to work by changing the file version in the project properties, as in this answer