I have a C# Windows Forms Application. I published using the publish profiles to the folder in my local, then copy it to the server. The business will run the setup and install it.
I have changed the assembly version manually using assemblyInfo.cs file and my current version are 2.0.0.7. But I'm facing the below issues.
I think that setting is not available when doing a publish by right-clicking the project,
But if you publish your project through Project => MyProject Properties menu, you can set the version of your package and click Publish Now.
The gist of all this is,
Normally, you don't change the version numbers that often, but the revision number keeps incrementing, and VS publish has support for this. See the checkbox "Automatically increment revision with each publish".
This is your package version, not your assembly version, and they don't have to match, since you can have multiple assemblies under a single setup package and each may have different versions.
It is the package version number which holds together all the compatible versions of your (or any external) assemblies.
The package version number is what your customers know when they set-up.
Hope this helps.