Microsoft.AspNetCore.App.targets(14, 5): This version of Microsoft.AspNetCore.App is only compatible with the netcoreapp2.2 target framework. Please target netcoreapp2.2 or choose a version of Microsoft.AspNetCore.App compatible with .
I'm not sure why I am seeing this error message in Rider when the branch of the project I am working on is targeting dotnet framework. A different branch targets dotnet core and I would perhaps expect to see it then. However, I don't see this error message when opening the project in Visual Studio. Opening in VS also allows me to build the project etc. where as Rider won't let me build or restore properly.
This recently started happening when I installed dotnet core 3.0.