Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • fabbau 18 posts 108 karma points
    Oct 02, 2020 @ 12:24
    fabbau
    0

    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. enter image description here

    Any idea on how to add this package to my project?

    Thank you guys!

  • Henk Jan Pluim 11 posts 63 karma points
    Oct 03, 2020 @ 06:39
    Henk Jan Pluim
    0

    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 ...

    enter image description here

    Goodluck,

    Henk Jan Pluim

  • fabbau 18 posts 108 karma points
    Oct 05, 2020 @ 08:14
    fabbau
    0

    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

  • 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.

Please Sign in or register to post replies