-
Notifications
You must be signed in to change notification settings - Fork 257
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
Add NuGet.exe to the Developer Command Prompt #7133
Comments
is there any reason for this? we expect dotnet can replace nuget.exe in the future. |
Nuget.exe is a very useful tool used by millions of developers daily, it works for packages.config, project.json and PackageReferences. This need isn't going away anytime soon. Every time I'm on someone's machine helping someone, they take a long time to find NuGet.exe and run it. There are situations where NuGet.exe works, but Most of the users don't complain, so consider me being a voice to represent them. Thanks! |
Signing is my wish to @dotMorten #9006 |
@timheuer Agreed it's one of the two reasons I use nuget.exe. The other is I use nuget packages in my C++ projects, and they need explicit restore with nuget.exe or the msbuild-based CI build fails. |
@timheuer Signing now works with " |
nuget.exe is still needed for two important scenarios: nuget pack custom.nuspec |
Solved? |
Not really. I don't want to have |
#4254 would solve nuget pack, but it wouldn’t solve nuget push and nuget list. |
#6060 is the proposed replacement for list |
@civkan package signing is one difference and I think there might be a few more. And it’s weird to use dotnet nuget to restore nuget packages for c++ projects (don’t even think that would work) |
does
|
I took a look at all the NuGet.exe commands and generated a table for the behaviors
Digesting the above table leads to the following list of relevant community requested issues, related to pack nuspec, setapikey, config, update and search commands
|
Even if the feature gap was closed, it still seems rather silly to me that you have to install the dotnet 6+ sdk just to restore or create nuget packages for non-dotnet projects (C++, .NET Framework etc). |
Team Triage: |
Many, many components currently bundled with Visual Studio are downloadable separately. I'm not sure that's a compelling reason. Note that "being able to run the command you found in the article you found online" and "not learn an alternative syntax" are a features not listed in the above table :) |
Please make NuGet.exe available from the Visual Studio Developer Command Prompt. It's a commonly needed tool and the expectation is that
msbuild
,dotnet
andnuget
just work from the command prompt.The text was updated successfully, but these errors were encountered: