VsCode The framework ‘Microsoft.AspNetCore.App’, version ‘6.0.0’ (x64) was not found
I created a new net5 project using this command dotnet new webapi -n UserService --framework net5.0
I can run the app with dotnet run
. But I cant debug it in VsCode. I get the error below. In my .cspoj file target framework is already set to net5.0. How can I debug my donet5.0 project in VsCode?