我正努力为我的MonoDroid应用程序启用MonoDroid
我对Xamarin的环境还是很熟悉的。我从github中提取了Simple.OData.Client,并试图将Simple.OData.Client.Core添加到解决方案中
当我这样做时,解决方案构建由于nuget问题而失败。MonoDroid有nuget支持吗?即使当我加载Simple.OData.Client.Tests.Mono解决方案时,我也无法获得nuget支持的功能。我收到消息:
C:\Projects\playground.monodroid\ext\Simple.OData.Client\Solutions\.nuget\NuGet.targets(42,9): error : Package restore is disabled by default. To give consent, open the Visual Studio Options dialog, click on Package Manager node and check 'Allow NuGet to download missing packages during build.' You can also give consent by setting the environment variable 'EnableNuGetPackageRestore' to 'true'.
C:\Projects\playground.monodroid\ext\Simple.OData.Client\Solutions\.nuget\NuGet.targets(42,9): error MSB3073: The command ""C:\Projects\playground.monodroid\ext\Simple.OData.Client\Solutions\.nuget\nuget.exe" install "C:\Projects\playground.monodroid\ext\Simple.OData.Client\Simple.OData.Client.Core\packages.config" -source "" -o "C:\Projects\playground.monodroid\ext\Simple.OData.Client\Solutions\packages"" exited with code 1.
Build failed. MSBuild operation failed我想做的事有可能吗?我知道Xamarin在那里有nuget的支持,但我似乎找不到它.先谢谢你
发布于 2014-04-15 21:56:54
我猜你在使用Xamarin Studio。您可以按照以下说明安装NuGet包管理外接程序:
https://stackoverflow.com/questions/23094217
复制相似问题