osx - Is it possible to restore Nuget packages with a Xamarin.iOS build using TFS online? -
i trying automate build process xamarin.ios
application. have managed xamarin.android
, uwp
build working find on over site windows build agent.
i trying build xamarin.ios
application using on site mac build agent.
i have added restore nuget packages first step in build definition keep getting error:
msbuild auto-detection: using msbuild version '4.0' '/library/frameworks/mono.framework/versions/4.2.3/lib/mono/4.5'. msbuild.exe not exist @ '/library/frameworks/mono.framework/versions/4.2.3/lib/mono/4.5/msbuild.exe'. error: /usr/local/bin/nuget failed return code: 1 return code: 1
but i'm not sure it's trying here @ nuget installer stage.
so possible do?
there known issue nuget restore command on non-windows operating systems:
restore - restore works packages.config , project.json files not yet work *.sln solution files
so can try update "restore nuget packages" step restore packages.config file instead of solution file. if still not work, try change "installation type" "restore" "install".
nuget 3.2
with nuget 3.2, following commands have been tested work:
config
delete install list push setapikey sources spec
refer link details: nuget compatibility.
Comments
Post a Comment