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.
- VStudio Version - VisualStudio -2017
- .NET Framework - 4.8
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.
- When I publish the folder, the folder inside the Application files are always getting the older version name (ProjectName_2_0_0_5).
- Thus making the manifest and application manifest to point to the Older version files. So the Manifest file is not getting updated.
- To rectify this error for the time being, manually I have updated the folder name to the current version and application manifest file to point to the current folder location.
- But still, I'm facing an issue in the deployment. But I know changing manually is not the correct way to do it. I'm missing something. I don't know how to do that. Please guide me and try to fix it permanently.