概述
记事本打开csproj文件
搜索nuget 删除Target节点 类似如下:
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
<Error Condition="!Exists('..WindowFormDemopackagesMicrosoft.Bcl.Build.1.0.14toolsMicrosoft.Bcl.Build.targets')" Text="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=317567." HelpKeyword="BCLBUILD2001" />
<Error Condition="Exists('..WindowFormDemopackagesMicrosoft.Bcl.Build.1.0.14toolsMicrosoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsof
最后
以上就是想人陪耳机为你收集整理的This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Res...的全部内容,希望文章能够帮你解决This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Res...所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复