msbuild
msbuild copied to clipboard
Net472 bootstrap created by dotnet build is incomplete
Issue Description
On Windows, build -msbuildEngine dotnet creates a net472 bootstrap environment but this environment is incomplete as it's composed only of pieces available in the .NET SDK.
Steps to Reproduce
-
build -msbuildEngine dotnet -
artifacts\bin\bootstrap\net472\MSBuild\Current\Bin\amd64\MSBuild.exe \temp\net8consoleapp
Expected Behavior
Simple .NET app builds fine.
Actual Behavior
error : Could not resolve SDK "Microsoft.NET.SDK.WorkloadAutoImportPropsLocator"
Notes
Ah, that's unfortunate. Completely fine for now but let's file a bug for follow-up?
Originally posted by @rainersigwald in https://github.com/dotnet/msbuild/pull/9735#discussion_r1496458323