In my csproj file, I set the <Version> and <FileVersion> tags and then use this in my app to do a verification that the user is using the correct version of the app. I used to use a VS Setup project but recently switched to AI.
When I do a release build, I update those tags and build. When installing the resulting msi and launch the app, those updated values are not reflected. I may have gotten it to work maybe once but it is very inconsistent. It seems like whatever value was in there after the first build, is what gets 'stuck'.
I created a test app. Didn't have those tags at all in csproj, built installer, installed. Form header shows Package: 1.0.0 Build 1.0.0.0
I added the tags and changed their values. Uninstalled previous, built, installed, form header says same.
If I do a publish and launch that exe, the header is updated.
Will send zip via email