

- #Make visual studio for mac always add nuget packages how to#
- #Make visual studio for mac always add nuget packages for android#
- #Make visual studio for mac always add nuget packages download#
- #Make visual studio for mac always add nuget packages windows#
Now back to trying to get this to work in Xamarin.
#Make visual studio for mac always add nuget packages windows#
After deleting the package folder on Windows and recompiling I can confirm that the Automatic Package Restore is working fine on Windows using VS 2013. nuget folder to not override VS to use the old MSBuild package restore mechanism. I've also made sure that we have no nuget.targets file left in the. I have now cleaned up all our project files as we want to make use to the new Automatic Package Restore introduced with NuGet v2.7. Thanks for sticking with me :-) It seems like we still had some MSBuild NuGet package restore information in our project files.
#Make visual studio for mac always add nuget packages download#
Enable NuGet Package Restore to download them. This project references NuGet package(s) that are missing on this computer. This is the last Error condition in the following extract from a project that has package restore enabled. I think that is the problem since the error looks like it is from one of the Error conditions in the project if you have enabled package restore for the solution. nuget/NuGet.targets file is missing from within the solution directory. The NuGet packages would be restored into: /Users/buildservice/Documents/pragmadev/oksource/nuget The build error refers to a different directory which NuGet would not be restoring any NuGet packages to: /Users/buildservice/Documents/pragmadev/oksource/onkey/feature_mobile/Source//.nuget/NuGet.targets

The missing file is /Users/buildservice/Documents/pragmadev/oksource/onkey/featuremobile/Source//.nuget/NuGet.targets. From the exception log it seems to be looking for a nuget.targets file.Į/onkey/feature mobile/Source//.csproj: error : This project references NuGet package(s) that are missing on this computer. I closed and restarted Xamarin Studio, but I still get the same compile issue. I also rolled back the changes to the nfig in the solution folder and it now only contains the following (which is used by VS 2013) I've now updated the ~/.config/NuGet/nfig to look as follow: However, this doesn't seem to work either. nuget folder that lies in the same folder as our solution files. Is there a similar place where we can do this on the Mac? We've tried adding a nfig file in a. On Windows we added it to the %appdata%\nuget folder to apply the configuration for the whole machine.
#Make visual studio for mac always add nuget packages how to#
We've read through the contents of the most recent blog posts, but are unsure how to configure a nfig file to enable Xamarin to do the package restore. It seems to be complaining about missing nuget configuration. However, when we try to compile our solution we are encountering the exception in the attachment. This seems to work as we can successfully see our packages whenever we do a Add Package in Xamarin itself. We've also setup Xamarin to use our local repository and ticked the options to enable the package restore functionality in Xamarin. Wanting to develop on the Mac Mini itself, we have installed Eclipse and the Team Explorer Everywhere plugin to give us access to TFS. We are now trying to do something similar on our Mac Mini for iOS development. If we delete the packages folder for a solution or when you open the solution for the first time and compile, VS 2013 will successfully restore the packages from our local repository.
#Make visual studio for mac always add nuget packages for android#
The package restore process works fine when doing development for Android and WinPhone on our Windows dev machines. Instead of hosting our NuGet repository on a server, we've added it to TFS and changed our machine nfig file (%appdata%\nuget) to reference this as a repositoryPath thus enabling the restore process to get the content when needed for any new/existing solution we create. We have setup our local NuGet repository so that any package restore process will use our repository. We are successfully using VS 2013, Xamarin and a local NuGet Repository for managing our NuGet repositories on our Windows machines.
