How to compile dotnet core

Source: Internet
Author: User
Tags dotnet visual studio installer

1.git Clone Source

2.init-tools.cmd

3.

Error:dia SDK is missing at "C:\Program Files (x86) \microsoft Visual Studio\2017\community\dia SDK". This was 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 L Ocation of previous version. Workaround is-to-copy DIA SDK folder from VS install location of previous version to "C:\Program Files (x86) \microsoft Vis UAL studio\2017\community\ "and then resume build.
Visual Studio Express does not include the DIA SDK. You need Visual Studio or Community ().
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's not found on the path. Please install CMake from Http://www.cmake.org/download/and ensure it was on your path.
Failed to generate native component build project!

Installing 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 the path in the <Import> declaration is correct, and that the file exists on disk.

Need to install C + + when Visual Studio is installed

How to compile dotnet core

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.