dotnet/runtime

Building should not prefer a preview VS installation that doesn't have all the required workloads

Open

#31,446 opened on Nov 8, 2019

View on GitHub
 (6 comments) (0 reactions) (0 assignees)C# (5,445 forks)batch import
area-Infrastructurehelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

build.cmd fails with:

EXEC : error : DIA SDK is missing at "C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\DIA SDK". Make sure you selected the correct dependencies when installing Visual Studio. [C:\Users\Joseph\Source\Repos\corefx\src\Native\build-native.proj] Visual Studio Express does not include the DIA SDK. You need Visual Studio 2017 or 2019 (Community is free). See: https://github.com/dotnet/corefx/blob/master/Documentation/building/windows-instructions.md#required-software

I don't want my preview install to be as heavy as my stable install. Everything corefx needs is installed in VS 16.3.8.

Contributor guide