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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -