Visual Studio For Mac Package Manager Console

Posted on  by 

This video explains how to Install System.Web.Optimization DLL Nuget package using Package Manager Console of Visual Studio 2012 2013 2015 2017. The NuGet Package Manager Console is built into Visual Studio on Windows version 2012 and later. (It is not included with Visual Studio for Mac or Visual Studio Code.) For example, finding and installing a package is done with three easy steps: Open the project/solution in Visual Studio, and open.

  1. Visual Studio For Mac Package Manager Console Add
Active6 months ago

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)

maverickVisualmaverick
1,4562 gold badges18 silver badges46 bronze badges

3 Answers

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

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.

Lex LiLex Li
44.5k7 gold badges82 silver badges107 bronze badges

At least in Visual Studio Community 7.8.1 build 4, you can find it under Visual Studio-->Extensions, using search term 'nuget':

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

Le Mot JuicedLe Mot Juiced
1,6381 gold badge15 silver badges32 bronze badges
Visual studio for mac

You can follow the NuGet CLI reference and install ithttps://docs.microsoft.com/en-us/nuget/tools/nuget-exe-cli-reference

An excerpt from that link provided reads:

macOS/Linux

Behaviors may vary slightly by OS distribution.

  1. Install Mono 4.4.2 or later.

  2. Execute the following commands at a shell prompt:

  3. Create an alias by adding the following script to the appropriate file for your OS (typically ~/.bash_aliases or ~/.bash_profile):

  4. Reload the shell. Test the installation by entering nuget with no parameters. NuGet CLI help should display.

RobC
8,44310 gold badges32 silver badges45 bronze badges
biniambiniam
6,4884 gold badges37 silver badges49 bronze badges

Not the answer you're looking for? Browse other questions tagged visual-studio-mac or ask your own question.

Please complete the security check to access this website.

Why do I have to complete a CAPTCHA?

Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

What can I do to prevent this?

If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.

Visual Studio For Mac Package Manager Console Add

If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.

Coments are closed