-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NuGet.org Bug]: Please fully qualify NuGet\Install-Package on the installer tab #9201
Comments
This is an excellent suggestion. The confusion between the Package Manager Console's Renaming the command is outside of the scope of NuGet.org. Furthermore, I think it would be a very tough request to fulfill since that's a breaking change and (IIRC) investments in the PMC are limited these days. I think having some clarification around this tab (that it should be used within the VS PMC) would also help. Maybe some note like the |
@potatoqualitee (or anyone else on this thread), are you interested in opening a PR to add the |
Thanks! I'll see what I can do. |
Thank you @potatoqualitee for your contribution! We'll work on getting this out to NuGet.org. |
Thank you for the acceptance and assist! |
This is deployed on www.nuget.org. Thanks again for your contribution! |
Thanks again for the assist 💯 100/100, would PR again. |
Impact
It's more difficult to complete my work
Describe the bug
As a PowerShell Developer, I am excited to see a PowerShell install command on each package.
But it always fails because
-Version
does not exist in myInstall-Package
command. Only-RequiredVersion
exists.After talking to others who figured this out, I now understand that there are two distinct
Install-Package
commands with incompatible parameters.Repro Steps
Install-Package Microsoft.Playwright -Version 1.25.0
Install-Package
from Microsoft'sPackageManagement
moduleExpected Behavior
Whatever is provided on NuGet.org should work.
Considering the naming convention is problematic, please fully qualify the command on the website so that end-users have a hint that there are two commands from Microsoft with the same name that are different.
Alternatively, please rename your command to
Install-NuGetPackage
for better alignment and clarity.The "Package Manager Console" is also confusing to people who aren't intimately familiar with Visual Studio. Perhaps add a PowerShell tab with the proper syntax right after the Cake tab.
In that tab would be
Screenshots
No response
Additional Context and logs
No response
The text was updated successfully, but these errors were encountered: