如何编译dotnet core

1.git clone源码

2.init-tools.cmd

3.

Error: DIA SDK is missing at "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\DIA SDK". This is due to a bug in the Visual Studio installer. It does not install DIA SDK at "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\" but rather at VS install location of previous version. Workaround is to copy DIA SDK folder from VS install location of previous version to "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\" 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

4.

CMake is a pre-requisite to build this repository but it was not found on the path. Please install CMake from http://www.cmake.org/download/ and ensure it is on your path.
Failed to generate native component build project!

安装cmake-3.10.0-rc3-win64-x64.msi

 

5.

"E:\GitHub\dotnet\corefx\bin\obj\Windows_NT.x64.Debug\native\CMakeFiles\3.10.0-rc3\VCTargetsPath.vcxproj" (default target) (1) ->
E:\GitHub\dotnet\corefx\bin\obj\Windows_NT.x64.Debug\native\CMakeFiles\3.10.0-rc3\VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

需要在visual studio安装的时候,安装c++

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(1220)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2014-10-31 第7章 调试和错误处理 7.1.1 VS中的调试
2014-10-31 markdown的语法说明
2014-10-31 在Github上搭建博客
点击右上角即可分享
微信分享提示