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.
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)
maverickmaverick3 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 LiAt 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 JuicedYou 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.
Install Mono 4.4.2 or later.
Execute the following commands at a shell prompt:
Create an alias by adding the following script to the appropriate file for your OS (typically
~/.bash_aliases or ~/.bash_profile
):Reload the shell. Test the installation by entering
nuget
with no parameters. NuGet CLI help should display.
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.