macosnugetvisual-studio-2022visual-studio-macpackage-manager-console

NuGet Package Manager Console in Visual Studio 2022 for Mac 17.3


Can we access the NuGet package manager console in Visual Studio 2022 for Mac 17.3?


Solution

  • There is a NuGet Package Manager Console available for Visual Studio for Mac as a separate extension you can install.

    From the main menu, select Extensions to open the Extensions Manager, then select 'NuGet Extensions' and click the Install button.

    Extensions manager dialog

    Restart Visual Studio for Mac after installing the extension.

    To open the NuGet Package Manager Console, from the View menu select Other Windows - NuGet Package Manager Console.

    NuGet Package Manager Console window

    Source code is on GitHub - https://github.com/mrward/monodevelop-nuget-extensions

    If you are seeing a purple window, or Visual Studio for Mac crashes, then try the 0.31.1 version which can be downloaded from the GitHub page. This can be installed from the Extensions Manager dialog using the 'Install from file' button.