I would like to be able to leverage the functionality of NuGet from an application I am building without having to interact with it through the command line. I would like to see a NuGet.dll built for AnyCPU.
It appears that I can reference NuGet.exe and access most of its functionality, but NuGet.exe is built for x86, which means my project should be built x86 as well (since I can't know what NuGet.exe does that may not work on x64). Also, if I add a reference to NuGet.CommandLine, a reference won't automatically be added to my project and if I then distribute my tool as a NuGet package, it won't automatically pick up the reference.
I believe the simplest solution, assuming there are no technical limitations, would be to build NuGet.dll AnyCPU and release it as a NuGet package. Then, any third party developers (such as myself) can leverage the power of the library with minimal effort.
For the curious, I am building a NuGet package that someone can add to their project and it will cause their project to automatically generate a NuGet package on successful builds. To do this currently, I have to depend on NuGet.CommandLine and then create a new process to execute it, passing arguments in via command line.