未能加载文件或程序集“System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指

当你使用Visual Studio 2005来开发关于AJAX的内容时,首先需要安装Ajax Control Toolkit,你可以在这里下载:

http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=1425

解压缩,安装压缩包中的"AjaxControlExtender.vsi"。

但这还不算完,因为你很可能得到以下错误:

从程序集“...\AjaxControlToolkit.dll”加载类型时出错

“未能加载文件或程序集“System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指定的文件。”

... Could not load file or assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

解决方法很简单,下载 ASP.NET 2.0 AJAX Extensions 1.0

http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en

就解决了,你甚至不需要添加Extention的DLL文件!

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/jedliu/archive/2008/09/18/2948827.aspx

原文地址:https://www.cnblogs.com/wzg0319/p/1958492.html