You’ll need to clean before building after upgrading Visual Studio. Right click on your solution and choose “Clean” and then build as normal.
If that still doesn’t work, delete your projects Intermediate/Build folder, re-generate project files for it, and try again.