我正在尝试在Xamarin Studio中构建一个Xamarin.iOS项目。启用了Nuget包恢复,但在任何构建过程中,我都会收到以下错误消息:
/.nuget/NuGet.targets: Error: Command 'mono --runtime=v4.0.30319 "/.nuget/NuGet.exe" install "/ProjectName/packages.config" -source "" -RequireConsent -solutionDir "/" exited with code: 127. (ProjectName)
从终端运行相同的命令没有问题,并且输出以下消息:
Restoring NuGet packages... To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'.
.nuget/NuGet.exe和.nuget/NuGet.targets已经更新。禁用项目.csproj文件中的Nuget恢复后,编译工作正常。
请给予建议。
/.nuget/NuGet.targets: Error: Command 'mono --runtime=v4.0.30319 "/.nuget/NuGet.exe" install "/ProjectName/packages.config" -source "" -RequireConsent -solutionDir "/" exited with code: 127. (ProjectName)
从终端运行相同的命令没有问题,并且输出以下消息:
Restoring NuGet packages... To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'.
.nuget/NuGet.exe和.nuget/NuGet.targets已经更新。禁用项目.csproj文件中的Nuget恢复后,编译工作正常。
请给予建议。