I'm using xamarin studio (with nuget package management addin), and have some nuget-packages in my project. There is "manage" and "restore nuget packages" in project context-menu, but is there a console too?
Open your project or solution in Visual Studio, and then open the Package Manager Console in Visual Studio by navigating to Tools > NuGet Package Manager > Package Manager Console. By default, console commands operate against a specific package source and project as set in the control at the top of the window.
Open the project/solution in Visual Studio, and open the console using the Tools > NuGet Package Manager > Package Manager Console command.
The NuGet Package Manager UI in Visual Studio on Windows allows you to easily install, uninstall, and update NuGet packages in projects and solutions. For the experience in Visual Studio for Mac, see Including a NuGet package in your project. The Package Manager UI is not included with Visual Studio Code.
The addin for Xamarin Studio and MonoDevelop does not currently have a Package Manager Console built in. The main reason is the lack of support for PowerShell on non-Windows systems. There is Pash, an open source, cross platform implementation of PowerShell, but that is currently missing some features before Xamarin Studio can get the full support compared with Visual Studio.
One of the features that the Package Manager console in Visual Studio is used for is to install a specific version of a NuGet package. With Xamarin Studio/MonoDevelop 5.1 you can install a specific version of a NuGet package using the Add Packages dialog by running a version search jquery version:*
where the package id must exactly match the package id on NuGet.org.
Note that there is a prototype Package Manager console available as a third party addin for Xamarin Studio/MonoDevelop 5.0 which was released recently. It is powered by Pash. However this console should be considered an alpha release. There are some PowerShell features missing from Pash which you may run into using this addin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With