Enabling package recovery so that this happens when the project has been compiled is not possible by adding NuGet to Xamarin Studio. This is something that I have not implemented. If you want to do this, you will have to manually add files and edit the project to use the NuGet.targets file.
Personally, I will use the Restore NuGet Packages option instead and will not use the NuGet.targets file. One thing you lose here is to start a package recovery on each assembly, but you only need to do this once. You also get some benefits from using this approach:
- Your project does not need to be changed.
- All NuGet packages will be restored before XBuild starts, so any NuGet packages that have their own custom XBuild imports will be restored and available at compile time.
source share