vb.net Ajax 控制工具包、Visual Studio 2013、Nuget:缺少 AjaxControlToolkit.dll
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29968109/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Ajax Control Toolkit, Visual Studio 2013, Nuget: AjaxControlToolkit.dll is missing
提问by afj
I tried to add the actual Ajax Control Toolkitto an .Net 4.5.1WebSite. All the dependencies seem to be properly installed but the AjaxControlToolkit.dllfile is not there.
我试图将实际添加Ajax Control Toolkit到.Net 4.5.1网站。所有依赖项似乎都已正确安装,但AjaxControlToolkit.dll文件不存在。
I tried to uninstall and reinstall the package with the NuGet Consolein Visual Studio 2013and it always looks to be successful, but also always that dll is missing. Also restarting VS did not help.
In the packages.configthe entry for the dll with version 8.0.0.0 is there and also in the packagesdirectory there a directory AjaxControlToolkit.8.0.0.0.but only the AjaxControlToolkit.8.0.0.0.nupkgand the readme.txtfiles are there.
我尝试卸载并重新安装带有NuGet Consolein的软件包,Visual Studio 2013它看起来总是成功,但也总是缺少 dll。重新启动 VS 也没有帮助。在packages.config版本为 8.0.0.0 的 dll 的条目中,在该packages目录中还有一个目录,AjaxControlToolkit.8.0.0.0.但只有AjaxControlToolkit.8.0.0.0.nupkg和readme.txt文件在那里。
Any idea, what went wrong or what I could do?
任何想法,出了什么问题或我能做什么?
采纳答案by Tony Hinkle
Start a command prompt and run dir c:\ajaxcontroltoolkit.dll /sto see if the file is somewhere on your system. If it is, then copy it to the project's bin folder.
启动命令提示符并运行dir c:\ajaxcontroltoolkit.dll /s以查看该文件是否在您的系统上。如果是,则将其复制到项目的 bin 文件夹中。
If it's not on your hard drive, go to http://ajaxcontroltoolkit.codeplex.com/releases/view/116091, download the version in question, and copy the .dll from the package to the project's bin folder.
如果它不在您的硬盘驱动器上,请访问http://ajaxcontroltoolkit.codeplex.com/releases/view/116091,下载相关版本,然后将 .dll 从包中复制到项目的 bin 文件夹中。
In the back of my mind it seems that I ran into this a couple of weeks ago, also, so there may be a bug in NuGet.
在我的脑海中,我似乎也在几周前遇到了这个问题,所以 NuGet 中可能存在一个错误。
回答by amartynov
Version 8.0.0.0 of the NuGet package is broken.
NuGet 包的 8.0.0.0 版已损坏。
Update 15.1.2is available.
更新15.1.2可用。
P.S. Dependencies are extracted into separate packages (AjaxControlToolkit.HtmlEditor.Sanitizer, AjaxControlToolkit.StaticResources)
PS 依赖项被提取到单独的包中(AjaxControlToolkit.HtmlEditor.Sanitizer、AjaxControlToolkit.StaticResources)

