当我从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
有人可以帮忙吗?
最佳答案
我通过以下方式解决了这个问题:
packages.config
如果失败,则始终可以:
\bin\
文件夹中。