jmrog / vscode-nuget-package-manager

An extension for Visual Studio Code that lets you easily add or remove .NET Core 1.1+ package references to/from your project's .csproj file using Code's Command Palette.
MIT License
34 stars 17 forks source link

Add Package reference missing. #33

Closed saviour123 closed 6 years ago

saviour123 commented 6 years ago

I have install the vscode extension. After reload, the Add Package Reference does not show. Only add or remove packages show.

jmrog commented 6 years ago

I'm not sure that I understand the issue here. The extension should provide you with two options: "Add Package" and "Remove Package." The Add Package option works by adding a PackageReference entry to your .csproj file. After the package reference is added, you'll need to restore the project's dependencies so that the package gets installed (e.g., by running dotnet restore). Which part of that is not working here?

Maybe the issue is just that the "Add Package" command is named misleadingly, since all it actually does is add the PackageReference for the package you choose?