Conner Murphy
Conner Murphy

Reputation: 59

No option for "Add Client Side Library" on Visual Studio Mac 2019

Can't see any option to add client side library on Visual Studio for Mac 2019 (Version 8.3.3).

Seems to be supported as I seen a few tutorials on a Mac for it but can't seem to find the option myself.

Upvotes: 2

Views: 4262

Answers (3)

Andrés Moreno F
Andrés Moreno F

Reputation: 71

Go to Menu Visual Studio, Extensions, Gallery, add library manager, restart Visual studio, and in the Add client-said Library solution, that's it

Upvotes: 7

nikhil goel
nikhil goel

Reputation: 101

You have to run the following command to install libman on your macOS:

dotnet tool install -g Microsoft.Web.LibraryManager.Cli

After running the above command try:

libman --version

If you get the error Command not found: libman

Then also run the following command:

export PATH="$PATH:/Users/username/.dotnet/tools"

where username would be your macOS user.

Upvotes: 8

Matt Ward
Matt Ward

Reputation: 47987

There is a separate Library Manager extension you can install which adds support for LibMan in Visual Studio for Mac.

Otherwise you can install the libman global tool and use the command line.

dotnet tool install -g Microsoft.Web.LibraryManager.Cli

Upvotes: 4

Related Questions