How to invoke nuget package restore in command line build of project created in Xamarin Studio?

We are using Xamarin Studio to create our projects. We do not check in our packages to git. We prefer to use a nuget package restore on our Jenkins machine to get the packages. If the project was created in Visual Studio I understand there is a project level setting to tell the build to to the package restore automatically. However this same thing doesn't appear to be available in Xamarin Studio.

The build is on a Mac so the nuget.exe from nuget.org doesn't work (no Mac binary).

What is the appropriate way to do this? Is there a way to invoke the nuget functionality in Xamarin Studio from the command line?

https://docs.nuget.org/consume/package-restore

Best Answer

Answers

  • DarrellDavis.7447DarrellDavis.7447 USMember ✭✭

    Thanks. I didn't realize that the mono distribution included nuget.

Sign In or Register to comment.