.NET Core SDK未安装或在路径下找不到 [英] The .NET Core SDK is not installed or cannot be found under the path
问题描述
在VS 2015下编译.Net Core RC2项目时,我收到以下错误
When compiling .Net Core RC2 project under VS 2015 I am receiving following error
GETSDKTOOLINGINFO:错误:.NET Core SDK是未安装或在路径C:\Program Files\dotnet\bin下找不到
。这些
组件是构建和运行此项目所必需的。
GETSDKTOOLINGINFO : error : The .NET Core SDK is not installed or cannot be found under the path C:\Program Files\dotnet\bin. These components are required to build and run this project.
该目录下确实存在文件。
Files do exist under that directory.
此外,当我在命令行中输入 dotnet 时,我的确看到它是在使用正确的版本号和东西。(.NET Command Line Tools( 1.0.0- beta-001598 )
Also when I input dotnet into command line I do see it's prining proper version number and stuff.(.NET Command Line Tools (1.0.0-beta-001598)
任何想法如何解决该问题?
Any idea how to resolve the issue?
推荐答案
- 删除所有较早版本的内核
- 从控制面板中删除适用于Windows的Microsoft .NET CLI(如果存在)。这对我有所帮助。
安装RC2之后,请确保控制面板仅显示.Net Core的这些内容。
After you install RC2, Make sure your control panel shows ONLY these for .Net Core
- Microsoft .Net Core 1.0.0 RC2-VS 2015工具预览1(1.0.20513.14)
- Microsoft .Net Core 1.0.0 RC2-SDK预览版1(x64)版本为1.0.0.2702
希望这会有所帮助。
这篇关于.NET Core SDK未安装或在路径下找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!