-
Notifications
You must be signed in to change notification settings - Fork 258
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
Expand dotnet nuget
to include more of the commands that nuget.exe has such as dotnet nuget config
#4855
Comments
Thanks for your asks. Helps us to prioritize future work here. |
Another request: https://github.com/dotnet/cli/issues/7339 |
+1 for |
I took a look at all the NuGet.exe commands and generated a table for the behaviors
I took a crack at comparing all the commands in nuget.exe and dotnet.exe. |
dotnet nuget
to include more of the commands that nuget.exe hasdotnet nuget
to include more of the commands that nuget.exe has such as dotnet nuget config
cc @erdembayar I know |
Upvoting |
@nkolev92 we had multiple internal teams at MSFT who are doing a migration to Mariner reach out to us when moving from Mono's Most of these teams are not even using .NET but have some tool which is hosted on an internal AzDO feed and they were using <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<RestorePackagesPath>packages</RestorePackagesPath>
</PropertyGroup>
<ItemGroup>
<PackageDownload Include="Some.Internal.Tool" Version="[7.0.7]" />
</ItemGroup>
</Project> It'd be great if we could get |
@akoeplinger Mind creating a new issue for that? |
I filed #12513 for the "dotnet nuget install" issue. |
Updated the map + the doc in NuGet/docs.microsoft.com-nuget#3303. Given that this was converted to track dotnet nuget config was completed, I'm gonna close this. #13398 tracks the documentation. |
dotnet msbuild
is clever about its project/solution context and knows how to find the right version of msbuild to support the task at hand. This is especially useful for a build agent doing CI/CD work where there are potentially many projects with potentially many tool/sdk/runtime version profiles.I think this is equally valuable in
dotnet nuget
commands, as evidenced by the existence of:dotnet nuget delete
dotnet nuget locals
dotnet nuget push
dotnet pack
(i assume)But when working through automation tasks, I immediately wanted:
dotnet nuget sources
I could also see an argument for:
dotnet nuget config
dotnet nuget delete
dotnet nuget setapikey
I mentioned this to Nate McMaster here, and he encouraged me to take it up in this repository.
Thanks for your time and consideration. Please let me know if there is a better/preferred channel in which to request this sort of feature set.
The text was updated successfully, but these errors were encountered: