我正在尝试使用http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#From_a_convention_based_working_directory 作为参考创建一个nuget包.Visual Studio中的我的包管理器控制台不允许我使用'nuget'命令.我能够'Get-help nuguet'并显示:
包括以下NuGet cmdlet.
Cmdlet Description
------------------ ----------------------------------------------
Get-Package Gets the set of packages available from the package source.
Install-Package Installs a package and its dependencies into the project.
Uninstall-Package Uninstalls a package. If other packages depend on this package,
the command will fail unless the –Force option is specified.
Update-Package Updates a package and its dependencies to a newer version.
Add-BindingRedirect Examines all assemblies within the output path for a project
and adds binding redirects to …Run Code Online (Sandbox Code Playgroud) 我刚刚构建了一台新 PC,安装了我的开发工具,连接到 TFS 并下载了我的项目。现在我的大部分参考文献都转向了 EF、jQuery 等。
包文件夹丢失了所有 .dll,如果我尝试使用 NuGet 恢复,则不会发生任何情况。如果我使用 NuGet 管理器作为解决方案,则没有“强制”重新安装选项。
NuGet 似乎更像是一种障碍而不是帮助。