Gaweringo
`dotnet build` errors NU1202 but building in IDE works
I finally got it!
I had a dotnet 3.0.3 Runtime installed and also the
dotnet3-sdk
via scoop (for some old thing I tried to build, that I can't even remember right now).
I uninstalled that and now it works.
I found it as it was in some paths that This SO Answer talked about.
Anyways, thanks a lot for your help and time :)13 replies
`dotnet build` errors NU1202 but building in IDE works
Yeah I tried downgrading NpgSql to
7.0.4
but still the same.
I also tried creating a new ASP.NET Core with Angular
project in VS and tried running dotnet build without doint anything else and I get this error:
Which says something about .NETFramework
which is also in the other error message and confuses me somewhat with .NET Framework
being the old pre .NET Core
thing.
Especially because the first error message is posted has this:
not compatible with net70 (.NETFramework,Version=v7.0)
.... supports: C:\...Web.csproj : error NU1202: - net6.0 (.NETCoreApp,Version=v6.0)
13 replies