由于 nuget.targets not found 错误,在 Visual Studio 中打开项目失败 [英] Opening project in Visual Studio fails due to nuget.targets not found error
本文介绍了由于 nuget.targets not found 错误,在 Visual Studio 中打开项目失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以我从 http://www.twitterizer.net/downloads/ 下载了 Twitterizerp>
我尝试在 Visual Studio 中打开它并得到所有这些 nuget 错误:
找不到导入的项目C:Twitterizer.nuget
uget.targets".确认<Import>中的路径声明是正确的,并且该文件存在于磁盘上.
发生了什么事.我该如何处理?
解决方案
- 安装 Nuget.
- 右键单击解决方案并选择启用 NuGet包还原".在 Visual Studio 2013 及更高版本中,请选择还原 NuGet 包".
- 在警告上单击确定".
- 关闭并重新打开解决方案.
现在应该是 hunky-dory.
So I downloaded Twitterizer from http://www.twitterizer.net/downloads/
I try to open it in Visual Studio and get all these nuget errors:
The imported project "C:Twitterizer.nuget
uget.targets" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file
exists on disk.
What is going on. How do I deal with this?
解决方案
- Install Nuget.
- Right click on the solution and select "Enable NuGet Package Restore". In Visual Studio 2013 and later, select "Restore NuGet Packages" instead.
- Click Ok on the warning.
- Close and re-open the solution.
Should now be hunky-dory.
这篇关于由于 nuget.targets not found 错误,在 Visual Studio 中打开项目失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文