Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以为 NuGet 创建我自己的 UI,例如在我的 MVC 项目中我想从我的 Web 应用程序的管理部分下载并安装 NuGet 包?
是的,这是可能的,我们使用管理员内置的 ASP.NET WebPages 来做到这一点:)
一个好的起点是查看 NuGet 命令行的安装命令以了解它是如何执行的。
http://nuget.codeplex.com/SourceControl/changeset/view/e2929b936dfb#src%2fCommandLine%2fCommands%2fInstallCommand.cs