记事本打开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内容请搜索靠谱客的其他文章。
发表评论 取消回复