.NETFramework 5.0 and 6.0 reference assemblies missing, but dotnet --list-sdks sees them [Answered]
and yet
What might I be missing to tell msbuild where to find these?
9 Replies
https://github.com/pardeike/Harmony/blob/master/Harmony/Harmony.csproj
<TargetFrameworks>net35;net45;net472;net48;netcoreapp3.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
Dear lord why
this is a library, not mine, that targets as wide of coverage as possible
I don't actually need to compile against all of those; I'd be happy to test with just one
How are you building this project?
msbuild
You can't use msbuild with .NET Core/5/6
If you need to use an msbuild command, use
dotnet msbuild
That will make sure you get the right thingsthanks, that seems to have done the trick
Yw
✅ This post has been marked as answered!