- Sun Jun 11, 2017 7:16 pm
If there is a possibility to do it automatically I sure want to know. I always upgrade as follows:
Assuming you have all checked in to source control (we use tfs)
- Copy all files from the new version to your workspace, overwrite the existing files
- Go to source control and compare and merge project files. To do this in an easy way, you have to unload the project from the solution.
- When project files merged, the source control connection is also restored
- You have to walk trough all files, but you will see in vs if you need to compare a file, because of the source control icon
- In vs you have to check the "show all files" In solution explorer. In that way you will see if you missed files you have to add
- When done, build your solutions and all new NuGet packages are downloaded. If not, you kan do in manually.
- After that make a backup of your database and upgrade your database with package manager console. You may have to create a new migration.
It took me 3 hours to upgrade. But good testing is very hard and takes a lot of time.
Hopefully this will help you, good luck!