我是靠谱客的博主 感动小白菜,最近开发中收集的这篇文章主要介绍NuGet Packages are missing,This project references NuGet package(s) that are missing on this compute...NuGet Packages are missing,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

错误内容

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

解决办法

i solved my issue by removing this code from .csproj file

<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>

NuGet Packages are missing

最后

以上就是感动小白菜为你收集整理的NuGet Packages are missing,This project references NuGet package(s) that are missing on this compute...NuGet Packages are missing的全部内容,希望文章能够帮你解决NuGet Packages are missing,This project references NuGet package(s) that are missing on this compute...NuGet Packages are missing所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部