5 Commits
Author SHA1 Message Date
Heng Liu 3d1c766e4e Keep NuGet related paths unchanged even if API Environment.GetFolderPath changes in .NET 8 (#4959) 2022-12-07 13:44:36 -08:00
Martin Ruiz ee9ef1f0e1 Remove CA1305 suppressions (part3 final) (#4754)
* remove suppresions for CA1305
2022-09-07 14:58:01 -07:00
Heng Liu 7721feed7c Make NuGet.CommandLine.Test run in parallel (#4103) 2021-06-10 09:21:34 -07:00
Rob Relyea 8cb7886a7e extra code review fixes for feedback from earlier dotnet nuget add source commit (#3244)
Fixes: NuGet/Home#9143
As part of #3206, there was feedback that came that was good to consider, but not before commiting to 5.5 codebase.
2020-02-20 12:34:14 -08:00
Rob Relyea a746cd6a01 Implementation of dotnet nuget add|remove|list|etc... source (#3206)
Fixes: NuGet/Home#4126
Fixes: NuGet/Home#8668

Spec link: https://github.com/NuGet/Home/blob/dev/designs/DotNet-Sources-Support.md

## Main Work - `dotnet nuget add|remove|* source` implementation
Moves and refactors existing `NuGet.exe sources add|remove|*` command into NuGet.Commands.csproj, so that it can be called by NuGet.exe and by DotNet.exe.

## Localization fixes were then necessary
Dealt with some localization challenges as part of the strings that moved into NuGet.Commands.dll. Needed to make the ILMerge command that makes NuGet.exe to get localization strings from the 13 NuGet.Commands.resources.dll.

## CodeGeneration templates and datafile for commands/verbs
Also implemented a CodeGeneration engine (see .tt files) based on data in commands.xml - which automated code creation of much of the infrastructure. As we add more commands into dotnet.exe, this should be useful.
2020-02-05 16:20:51 -08:00