msbuild icon indicating copy to clipboard operation
msbuild copied to clipboard

Net472 bootstrap created by dotnet build is incomplete

Open ladipro opened this issue 1 year ago • 0 comments

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

  1. build -msbuildEngine dotnet
  2. 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

ladipro avatar Feb 21 '24 08:02 ladipro