当我在Visual Studio中使用nuGet安装AjaxControlToolkit时,我收到以下错误:
PM> install-Package AjaxControlToolkit
Attempting to resolve dependency 'AjaxMin (≥ 4.97.4951.28483)'.
Attempting to resolve dependency 'HtmlAgilityPack (≥ 1.4.6)'.
'AjaxControlToolkit 7.0725' already installed.
The directory is not empty.
Successfully uninstalled 'AjaxMin 4.97.4951.28483'.
Install-Package : Failed to add reference to 'AjaxMin'.
At line:1 char:16
+ install-Package <<<< AjaxControlToolkit
+ CategoryInfo : NotSpecified: (:) [Install-Package],InvalidOperationException
+FullyQualifiedErrorId:NuGetCmdletUnhandledException,
NuGet.PowerShell.Commands.InstallPackageCommand
有人可以帮忙吗?
答案 0 :(得分:0)
我通过以下方式解决了这个问题:
packages.config
如果失败,您可以随时:
\bin\
文件夹。