未找到 Microsoft.DotNet.Props [英] Microsoft.DotNet.Props was not found

查看:34
本文介绍了未找到 Microsoft.DotNet.Props的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在加载 .net 项目解决方案时遇到一些错误.错误会像

I have some error while loading the .net project solution. the error will be like

The imported project "C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found.Confirm that the path in the <Import> declaration is correct, and that the file exist on disk.

如何解决这个问题?

推荐答案

虽然这个问题已经有人回答了.我最近遇到了同样的问题.更具体的答案是您需要安装Visual Studio 2015 Tools (Preview 2):

Although this question has already been answered. I recently came across the same issue. The more specific answer is that you need to install the Visual Studio 2015 Tools (Preview 2):

https://www.microsoft.com/net/download/core

直接下载:

https://go.microsoft.com/fwlink/?LinkId=827546

因为这不是直截了当的,而且我正在处理 1.1 dotnet 核心项目,所以我不小心跳过了这一步,只安装了 Windows SDK.我在这里报告了一个问题:

Because this wasn't straight forward and I was working on a 1.1 dotnet core project, I accidentally skipped this step and only installed the Windows SDK. I reported an issue here:

https://github.com/dotnet/core/issues/378

这篇关于未找到 Microsoft.DotNet.Props的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆