Are you in the right folder of your project? When I use the NuGet Gallery from within Visual Studio Code I can select the project where I want to install the NuGet package for ... when selecting it the Install button comes enabled. Otherwise it may have something to do with your installation and reinstalling VS Code can make a difference ...
Adding a nuget package with Visual Studio Code
Hi all,
I have a Umbraco installation and want to integrate a nuget package. To be precise this one: https://www.nuget.org/packages/BulletTrain/
I'm using VS Code, so I don't have the NuGet Package Manager. Therefore I installed the VS Code extension NuGet Gallery.
Within this extension I can filter for the desired package, but the installation button is disabled.
Any idea on how to add this package to my project?
Thank you guys!
Hi Fabbau,
Are you in the right folder of your project? When I use the NuGet Gallery from within Visual Studio Code I can select the project where I want to install the NuGet package for ... when selecting it the Install button comes enabled. Otherwise it may have something to do with your installation and reinstalling VS Code can make a difference ...
Goodluck,
Henk Jan Pluim
Hi Henk Jan,
Thank you for your reply.
I'm not sure if I'm in the right folder. Actually I'm in the root of the project. Is this wrong?
And I have no file in the project that ends with .csproj. Adding this file manually had no effect.
Haven't tried to reinstall VS Code so far. Will give it a try...
Fabian
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.