Skip to content

Unable to build without VS installed #2729

@AdamYoblick

Description

@AdamYoblick
  • .NET Core Version:

Irrelevant (we don't need dotnet installed to build)

  • Have you experienced this same bug with .NET Framework?:

No

Problem description:

Unable to build on a clean VM without VS installed. Errors look like this:

:\src\winforms\src\System.Windows.Forms\tests\IntegrationTests\WinformsControlsTest\WinformsControlsTest.csproj : erro
r : Version 5.0.100-alpha1-015536 of the .NET Core SDK requires at least version 16.3.0 of MSBuild. The current availab
le version of MSBuild is 16.0.461.62831. Change the .NET Core SDK specified in global.json to an older version that req
uires the MSBuild version currently available.
C:\src\winforms\src\System.Windows.Forms\tests\IntegrationTests\WinformsControlsTest\WinformsControlsTest.csproj : erro
r MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.

Expected behavior:

Should be able to build

Minimal repro:

Get a clean Win10 VM without VS installed.
Clone the repo.
build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions