我是靠谱客的博主 神勇唇彩,这篇文章主要介绍Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package ...,现在分享给大家,希望可以做个参考。
复制代码
1错误提示:
Severity Code Description Project File Line Suppression State
Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..packagesMicrosoft.Net.Compilers.1.0.0buildMicrosoft.Net.Compilers.props. Luck100 C:Goods.csproj 315
复制代码
1
解决办法:
参考:http://docs.nuget.org/ndocs/consume-packages/package-restore
找到 项目文件.csproj,打开后,移除下面的内容
复制代码
1
2
3
4
5
6<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <PropertyGroup> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> </PropertyGroup> <Error Condition="!Exists('$(SolutionDir).nugetNuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir).nugetNuGet.targets'))" /> </Target>
复制代码
1
转载于:https://www.cnblogs.com/qianxingdewoniu/p/6400581.html
最后
以上就是神勇唇彩最近收集整理的关于Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package ...的全部内容,更多相关Error内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复