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

Fialed to install a package #6

Closed akontsevich closed 7 years ago

akontsevich commented 7 years ago

Was unable to install Microsoft.AspNetCore.Server.Kestrel package via Your vscode-nuget-package-manager - it did not find it, forced to use terminal: # dotnet add package Microsoft.AspNetCore.Server.Kestrel which works successfully.

jmrog commented 7 years ago

@akontsevich Thanks for the report. Do you know whether there are specific steps I can take to reproduce this issue? I just tried to install Microsoft.AspNetCore.Server.Kestrel using the plugin on my own machine and it worked fine. (Did you already have some dependencies installed? There is currently an open issue (#5) where the plugin fails to install if you don't have any package references in your .csproj file when you try to use it.)

jmrog commented 7 years ago

Here is an example of it working fine for me:

working example

akontsevich commented 7 years ago

Yes, works this way for me too, thanks. Thought auto-complete shows me while typing.

jmrog commented 7 years ago

Ah, gotcha. Yeah, that would be very nice, but it unfortunately isn't possible, as far as I know, given the way that VS Code extensions work (the search box API only provides data once the user actually hits Enter (or cancels)).