Nuget无法找到系统包

时间:2016-11-19 10:44:33

标签: c# visual-studio azure webforms nuget

我有一个webforms应用程序,可以毫无困难地在localhost上构建和运行,但在发布到azure web应用程序时却无法执行此操作,因为它会出现以下错误:

  Severity Code Description Project File Line   Suppression State Error NuGet Package restore failed for project OpenRep: Unable to find version '4.0.11' of package 'System.Text.Trim().Encoding'.
  C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'System.Text.Trim().Encoding.4.0.11' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
  https://api.nuget.org/v3/index.json: Package 'System.Text.Trim().Encoding.4.0.11' is not found on source 'https://api.nuget.org/v3/index.json'.
  https://www.nuget.org/api/v2/curated-feeds/microsoftdotnet/: Package 'System.Text.Trim().Encoding.4.0.11' is not found on source 'https://www.nuget.org/api/v2/curated-feeds/microsoftdotnet/'.

我尝试在nuget包管理器控制台上重新安装软件包,但这也不起作用。我还认为系统软件包默认使用VS。

0 个答案:

没有答案
相关问题