Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
NuGet还原失败,返回“0”;软件包包含多个nuspec文件;只在我的机器上_Nuget_Nuget Package Restore - Fatal编程技术网

NuGet还原失败,返回“0”;软件包包含多个nuspec文件;只在我的机器上

NuGet还原失败,返回“0”;软件包包含多个nuspec文件;只在我的机器上,nuget,nuget-package-restore,Nuget,Nuget Package Restore,我正在使用VS2015U3和NuGet 3.4.4。在Windows 10周年更新上运行。 在Visual Studio中运行或在命令行上运行时,NuGet restore会出现此错误 我在两个独立的解决方案文件上对此进行了测试,结果相同。但是,构建服务器和我的笔记本电脑恢复包没有任何问题 我尝试过下载NuGet.exe fresh、修复Visual Studio、卸载并重新安装NuGet软件包管理器以及清除NuGet缓存 以下是在命令行上运行NuGet restore..\mySolution

我正在使用VS2015U3和NuGet 3.4.4。在Windows 10周年更新上运行。 在Visual Studio中运行或在命令行上运行时,NuGet restore会出现此错误

我在两个独立的解决方案文件上对此进行了测试,结果相同。但是,构建服务器和我的笔记本电脑恢复包没有任何问题

我尝试过下载NuGet.exe fresh、修复Visual Studio、卸载并重新安装NuGet软件包管理器以及清除NuGet缓存

以下是在命令行上运行NuGet restore..\mySolution.sln的输出:

正在恢复NuGet包RestSharp.102.7.0。 恢复NuGet软件包Rx核心。2.2.5。 恢复NuGet软件包Rx接口。2.2.5。 正在还原NuGet包Newtonsoft.Json.4.0.8。 正在恢复NuGet程序包Rx Linq.2.2.5。 正在恢复NuGet package Rx Main.2.2.5。 正在恢复NuGet软件包Rx平台服务。2.2.5。 正在恢复NuGet程序包Rx WPF.2.2.5。 正在恢复NuGet程序包Rx XAML.2.2.5。 正在还原NuGet包LiveCharts.0.6.5。 正在还原NuGet包CommandLineParser.1.9.71。 警告:包包含多个nuspec文件

packages.config项目中的错误 包包含多个nuspec文件

使用的NuGet配置文件: C:\Users\Rob\AppData\Roaming\NuGet\NuGet.Config C:\ProgramData\nuget\Config\Microsoft.VisualStudio.Offline.Config

使用的源: C:\Users\Rob\AppData\Local\NuGet\Cache C:\Users\Rob.nuget\packages\
C:\Program Files(x86)\Microsoft SDK\NuGetPackages\

运行“Nuget.exe locals all-clear”修复了此问题

运行“Nuget.exe locals all-clear”修复了此问题

在我的情况下,Nuget没有命令局部变量,但它与“Nuget restore”一起工作,在我的情况下,Nuget没有命令局部变量,但它与“Nuget restore”一起工作