如何将ASP.NET Framework 3.5网站转换为Framework 2 [英] How to convert ASP.NET framework 3.5 website to framework 2

查看:122
本文介绍了如何将ASP.NET Framework 3.5网站转换为Framework 2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能告诉我

如何将ASP.NET Framework 3.5网站转换为框架2

解决方案

如果您没有使用过.net 3.5的任何专有功能(例如LINQ等),那么只有您可以将3.5项目转换为2.0.

您只需要删除web.config文件并添加与2.0兼容的web.config文件,便会转换项目.


创建一个新的ASP.NET解决方案,并添加所有表格.这是最简单,最安全的方法. ;)


我会在VS2005中将其作为网站打开,然后进行编译,看看会发生什么.我不确定2005年到2008年之间布局是否会发生巨大变化.


Can u tell me,

How to convert ASP.NET framework 3.5 website to framework 2

解决方案

Hi
If you have not used any exclusive features of .net 3.5 like LINQ, etc. Then only u can convert 3.5 project to 2.0.

What you need to do is only delete the web.config file and add the 2.0 compatible web.config file and the project is converted.


Create a new ASP.NET solution, and add all the forms. This is the easiest way and most safest way to do this. ;)


I would open it as a website in VS2005, and then compile and see what blows up.  I''m not sure that there was any huge layout change between 2005 and 2008.


这篇关于如何将ASP.NET Framework 3.5网站转换为Framework 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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