Skip to content

Net472 bootstrap created by dotnet build is incomplete #9767

Open
@ladipro

Description

@ladipro

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 #9735 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Our Own BuildProblems affecting the build or build infrastructure of the MSBuild repo itself.Priority:2Work that is important, but not critical for the releasebacklogtriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions