runtime: Unable to build the repo on my machine

Hi, I followed these directions, but when I’m building it fails.

My setup

  • Windows 10.0.15063 Build 15063 x64 Home edition
  • VS 2017 (15.3.3) Community edition (only IDE)
    • Workloads: image
    • Individual components: image
  • Instructions from here

Actual behavior

Calling build-native.cmd (or build.cmd) gives the following output:

Tools are already initialized.
Running: C:\Users\Shimmy\Source\Repos\corefx\src\Native\build-native.cmd   x64  Debug  Windows_NT  --numproc 8  -portable  toolSetDir=c:\tools\clr
Tools are already initialized.
Running: C:\Users\Shimmy\Source\Repos\corefx\Tools\msbuild.cmd /nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false /l:BinClashLogger,Tools\net46\Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log /p:ConfigurationGroup=Debug /p:BuildPackages=false /p:GenerateNativeVersionInfo=true  /flp:v=normal  /flp2:warningsonly;logfile=msbuild.wrn  /flp3:errorsonly;logfile=msbuild.err  C:\Users\Shimmy\Source\Repos\corefx\src\Native\..\../build.proj /t:GenerateVersionHeader
Project file contains ToolsVersion="14.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
Command execution succeeded.
The system cannot find the path specified.
Commencing build of native components

Error: DIA SDK is missing at "DIA SDK". This is due to a bug in the Visual Studio installer. It does not install DIA SDK at "" but rather at VS install location of previous version. Workaround is to copy DIA SDK folder from VS install location of previous version to "" and then resume build.
Visual Studio Express does not include the DIA SDK. You need Visual Studio 2015 or 2017 (Community is free).
See: https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/developer-guide.md#prerequisites
Command execution failed with exit code 1.

When calling build-managed.cmd however, this is the output I’m getting.

Any help please?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments