xamarin studio, add nuget plugin - xamarin

I've found a NuGet plugin I would like to install, but using Xamarin Studio on Mac I don't have Package Manager Console so i can't type the
Install-Package My.Wanted.Plugin -Version 1.0.0.0
According to is there a package manager console in xamarin studio there is a workaround, but it didn't work for me.
So my questions is; is there another (probably longer and more complex) way to install NuGet plugins to Xamarin Studio?
Thanks in advance!

For Xamarin Studio 5.9 you can use version 0.6.1 of the NuGet extensions addin. Currently this is not currently available from the main MonoDevelop addin repository but it is available to download from GitHub.
Download the mpack file, then open the Add-in Manager and select Install from file. You may need to restart Xamarin Studio afterwards.

Related

Not finding Microsoft.Maui.Controls.Maps NuGet package

I installed latest visual studio preview (Visual Studio Community 2022 Preview - 17.4.0 Preview 3) with .NET 7 include. I started a new project to experience the new Map control and selected the target .NET to be net7.0. Now when searching for the NuGet package Microsoft.Maui.Controls.Maps I'm unable to find it in the NuGet solution. How and where can I install it?
Maps is only available as a pre-release at the moment of writing: https://www.nuget.org/packages/Microsoft.Maui.Controls.Maps
You need to tick the check box that says Include prerelease when you search for NuGets in the Package Manager.

Xamarin Firebase package doesn't exist in visual studio

I have a Xamarin.forms project that requires ML Kit from firebase, so I wanted to download this package, Xamarin.Firebase.ML.Vision. The problem is that when I try to add it in Nuget in Visual Studio, the package doesn't show up. How do I get it?
It's still in preview. You need to enable the Include pre-release for it to show up in nugets

Xamarin.Forms not working in Visual Studio for Mac

I am working on a Xamarin.Forms app in Visual Studio using Visual Studio Online Team Explorer. But whenever I try to build my main project or iOS project I get the following error:
/Users/test/Visual Studio/workspace/MyProject.iOS/MyProject.iOS.csproj(5,5): Error: This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ../../packages/Xamarin.Forms.2.5.1.444934/build/netstandard1.0/Xamarin.Forms.props. (MyProject.iOS)
I tired looking for the NuGet store but couldn't find it on the mac version. It is already installed on my windows laptop that also uses it.
In Visual Studio for Mac, you can manipulate your packages using the Project menu. In your case, you'll want to use Project|Restore NuGet Packages.

How to get visual studio 2010 to install a NuGet Package

I have a Visual Studio 2010 Solution Template.
When the user creates a solution using this template I want NuGet to get the latest version of that a package and install it.
The package is my own, shared on a network drive, maybe this is the issue.
I've looked at NuGet Restore and the Auto update feature but it still fails to get my package.
Here is a link to how to install packages via Visual Studio Template - http://docs.nuget.org/docs/reference/packages-in-visual-studio-templates.
Currently NuGet supports three package repositories, as discussed by the document. Your template can install a fixed version of NuGet packages; and the template consumer will need to update to the latest version themselves.

Trouble Adding Library Package Reference to NUnit in Microsoft Visual Studio 2010 Express

I want to add a library package reference to NUnit so that I can do some unit testing. When I try to download the package and add the reference, I get this error:
The schema version of 'NUnit' is incompatible with version 1.2.20325.9034 of NuGet. Please upgrade NuGet to the latest version from http://go.microsoft.com/fwlink/?LinkId=213942.
So then I go to this URL and download the file NuGet.Tools.vsix. When I double click it, I get the error: "Invalid command line arguments." So I then run Web Platform Installer 3.0, but I can't figure out how to upgrade NuGet from there either. Finally, I was able to install version 1.6.2 of NuGet.Core from inside of Visual Web Developer via "Add Library Package Reference" under the Project menu. However, when I try to install NUnit the same way, it still gives me the error that it is incompatible with version 1.2... of NuGet, even though it appears that Nuget.Core is now upgraded to version 1.6.2!
Any idea what is going on?
I am using Visual Web Developer 2010 Express on Windows 7. Also, I am using wpilauncher_3_10.exe.
I followed this web site Link
In order to unistalling nuget follow Visual Studio 2010 - Uninstall NuGet
And you can download and install nuget from here download Nuget

Resources