Reputation: 149
So I get the error in the title when I'm working with a project I know has been created using core 2.2. However, I've looked into this and done the following things which I've found can be potential problems:
When I right click a project and go to properties I'm unable to select .net core 2.2 under target framework. I've obviously tried restarting VS.
So far I've been unable to find any other possible causes. Do anyone have any idea what else I could possibly be missing?
Upvotes: 1
Views: 1693
Reputation: 2049
Microsoft has messed up the latest version on 2.2 It only works with visual studio/ msbuild 2019 now.
Spent a good hour figuring this out, but uninstall 2.2.202 and install an older version and it will work fine!
Upvotes: 2