0

Visual Studio interfaces with NuGet via a dll, but the command line tool is solely an exe (nuget.exe).

Is there a reason they don't share a common library? It seems like this introduces the risk of allowing for code divergence between the dll and exe.

Community
  • 1
  • 1
neverendingqs
  • 4,006
  • 3
  • 29
  • 57

1 Answers1

0

Visual Studio and NuGet.exe share a common library called NuGet.Core.dll. Things have changed a bit with NuGet 3.0 but they still share dlls.

The NuGet.exe has the NuGet.Core.dll merged into it instead of having a separate file.

Matt Ward
  • 47,057
  • 5
  • 93
  • 94