Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cant find package manager console in visual studio for mac

I am using Visual studio for mac. I need to install some packages but I can't find package manager console for that.

Visual studio version: Preview 1 (7.0 build 347)

like image 367
Sahil Sharma Avatar asked May 20 '17 13:05

Sahil Sharma


People also ask

Where is package manager console in Visual Studio for Mac?

You can use NuGet PowerShell commands to find, install, uninstall, and update NuGet packages. To open the console in Visual Studio, go to the main menu and select Tools > NuGet Package Manager > Package Manager Console command.

How do I open NuGet package manager console in Visual Studio for Mac?

Open the project/solution in Visual Studio, and open the console using the Tools > NuGet Package Manager > Package Manager Console command.

How do I find my package manager console?

The Package Manager Console is a PowerShell console within Visual Studio used to interact with NuGet and automate Visual Studio. You can access the Package Manager Console from within Visual Studio by going to Tools -> Library Package Manager -> Package Manager Console.

Does NuGet work on Mac?

The NuGet Package Manager UI in Visual Studio for Mac allows you to easily install, uninstall, and update NuGet packages in projects and solutions. You can search for and add packages to your . NET Core, ASP.NET Core, and Xamarin projects.


2 Answers

Warning:

A commenter reports this extension crashes VS Community 2019 for Mac version 8.5 (Build 3183). I haven't upgraded to it, so I can't speak to this. Anyone with information/fix/alternate approach, please chime in down in the comments.

OK:

At least in Visual Studio Community 8.4.8 build 2, you can find it under Visual Studio-->Extensions, using search term "nuget":

enter image description here

It took me so long to find this I hope it helps someone else find it faster!

like image 115
Le Mot Juiced Avatar answered Oct 13 '22 03:10

Le Mot Juiced


Similar to Xamarin Studio, you have to use its dialog,

https://developer.xamarin.com/guides/cross-platform/xamarin-studio/nuget_walkthrough/

enter image description here

As there was no cross platform PowerShell, Xamarin Studio lacks of Package Manager Console. It might come one day in Visual Studio for Mac. We will see.

like image 23
Lex Li Avatar answered Oct 13 '22 05:10

Lex Li