从vs 2005迁移到vs 2008 [英] Migration from vs 2005 to vs 2008

查看:99
本文介绍了从vs 2005迁移到vs 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是这个网站的新手.我的第一个查询是:
我是vs 2008的新手,现在我将我的2005年项目(这是一个大项目)迁移到2008年.但是在构建该项目时,我遇到了类似以下错误:

Hi every one,

i am new to this site. my first query is:
I am new to vs 2008 and now i am migrating my 2005 project(which is a large project) to 2008. but while building the project i am getting error like :

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


即使我在vs 2008 web.config文件中设置了新旧版本.

请给任何解决方案.阻止我迁移这个大项目的步骤

感谢


even though i set old and new versions in vs 2008 web.config file.

plz,can anyone give the solution to this. sujjest me the steps to migrate this large project

thanks

推荐答案

您的系统上未安装Ajax框架.

System.Web.Extensions是支持Ajax功能(如Scriptmanager,Updatepanel等)的dll.要么在您的bin中提供这些dll(它们是免费提供的),要么还可以安装Ajax CTP(将这些dll放入GAC中)

另外,如果您根本不使用AJAX,则VS2005 Web.Config中可能不存在此dll参考,并且在迁移时必须已创建的VS2008 Web.Config文件中必须存在此参考.只需检查并删除.
Ajax framework is not installed on your system.

System.Web.Extensions are the dll''s that support Ajax features (like Scriptmanager, Updatepanel,etc). Either provide those dll''s in your bin (they are freely available), or can also install the Ajax CTP (this will place those dll''s in GAC)

Also, if you are not using AJAX at all.. this dll reference might not be present in VS2005 Web.Config and this reference must be there in VS2008 Web.Config file that you must have created while migration. Just check and remove.


似乎您已经安装了 ASP.NET 2.0 AJAX Extensions 1.0 ,以便在.Net Framework 2.0中使用AJAX.
您卸载了吗?
您需要更新web.config文件中的引用.
.Net Framework 3.5已经内置了对AJAX的支持.只需更新参考,一切都会好起来.
Seems you have installed ASP.NET 2.0 AJAX Extensions 1.0 for using AJAX in .Net framework 2.0.
Have you uninstalled it?
You need to update the reference in the web.config file.
.Net framework 3.5 already has inbuilt support for AJAX. Just update the reference and everything will be fine.


这篇关于从vs 2005迁移到vs 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆