mrgou
mrgou

Reputation: 2510

Error on adding NuGet package from VS-Code

I added the NuGet Package Manager extension in Visual Studio Code, but whenever I try to add a package, after successfully selecting the package name from the search results and the version number, I get the following error in the notification area:

The "path" argument must be one of type string, Buffer, or URL. Received type undefined

Any idea as to what might happen?

Upvotes: 2

Views: 3500

Answers (1)

mrgou
mrgou

Reputation: 2510

Duh, my project simply wasn't open. The message isn't greatly explicit, but it was my mistake!

Upvotes: 5

Related Questions