Not just solution file, clear every thing from Intermediate ,Saved ,Binaries,Build and also .vs folders (They are safe to delete and can be regenerated) . Then generate visual studio project files and rebuild your project. This helped me many times after upgrading.
I hope this helps you too, Cheers!