Closed BachiMjavanadze closed 1 year ago
You can already search and add nuget packages in other faster way:
@fernandoescolar
In my case when I click on Add package
button nothing happens, I can't see this pop-up window
Could you check if you have any nuget.config file in the root folder of the project or in its parent folders?
No, I do not have any nuget.config file
by the way, package remove button works correctly
And Can you see any error in the developer tools console after clicking in the add package button?
No Output, no terminal messages are shown
same, not sure what a CPS (dotnet core) project type is as it neither works with ASP.NET CORE empty nor console app
same problem here, popup doesn't appear after click on + button or "Add package"
same, not sure what a CPS (dotnet core) project type is as it neither works with ASP.NET CORE empty nor console app
Any project you can create with this tool is a CPS project. If your project it is not CPS, you should not see the "+" button or the "add package" menu option.
About the issue, I can't reproduce it so I can't help, could you please provide some log error in the Dev Tools or output panel related to it?
Hi @fernandoescolar, I just download v0.7.3 and debugged it.
projectFullPath
returns the correct path (line 22).this.wizard
return a value (line 23)if (!parameters)
is never reached (line 29) following the stack I arrived this method: getNugetFeeds(projectPath: string)
https://github.com/fernandoescolar/vscode-solution-explorer/blob/48d4f1ff9f66b36d11b7a37435679d2445ed3d13/src/extensions/nuget.ts#L24
breakpoint on line 25 is reached (the press F5)
breakpoint on line 72 never reached
so the problem is inside that do-while:
"c:\\Users\\...\\Downloads\\vscode-solution-explorer-0.7.3\\test\\cli/nuget.config"
NOTICE THE SLASH /"c:\\Users\\...\\Downloads\\vscode-solution-explorer-0.7.3\\test/nuget.config"
"c:\\Users\\...\\Downloads\\vscode-solution-explorer-0.7.3/nuget.config"
c:\\/nuget.config
the while is infinite, and the / cause problems.
This is very useful. It seems I didn’t think in windows filesystem when I’m looking for a the nuget.config files.
Thank you very much!
On Windows 10 I still can't add new package, can't see this pop-up window
I tested the new release (v0.7.4) in windows 11 it works perfectly.
Ok, I think reason was VSCode portable mode, on regular VSCode everything works... but even on portable version everything works except installing packages
After reinstalling VSCode portable mode
everything works fine. Thanks!
At the moment it's not possible to add a package by clicking on the
Add package
button. Hope it's a upcoming feature.I suggest show this window when clicking on the
Add package
button:If it's not impossible then please add settings that gives ability to call any other extension when you click on the
Add package
button:"vssolution.NugetackageExternalExtention": "nugetpackagemanagergui"
I would take this extension.