Open ladipro opened 8 months ago
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.
build -msbuildEngine dotnet
artifacts\bin\bootstrap\net472\MSBuild\Current\Bin\amd64\MSBuild.exe \temp\net8consoleapp
Simple .NET app builds fine.
error : Could not resolve SDK "Microsoft.NET.SDK.WorkloadAutoImportPropsLocator"
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_
Team triage: Let's not produce Net472 bootstrap in this case.
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
_Originally posted by @rainersigwald in https://github.com/dotnet/msbuild/pull/9735#discussion_r1496458323_