点网4.0可以与这些2.0& 3.5没有任何问题? [英] dot net 4.0 will work with these 2.0 & 3.5 without any issue?

查看:79
本文介绍了点网4.0可以与这些2.0& 3.5没有任何问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在点网框架2.0和3.5上运行的应用程序很少.现在,我想在同一台服务器上安装点网框架4.0,但恐怕这可能会导致正在运行的应用程序崩溃.我正确的点网4.0可以与这些2.0&一起使用. 3.5没有任何问题?
请建议我


谢谢


不,我不想重新编译以前的应用程序.我想在服务器上安装新框架,并在.Net 4.0中构建的新应用程序运行时不会崩溃以前的版本(2.0和3.5).

i have few applications running on dot net framework 2.0 and 3.5. Now i want to install dot net frame work 4.0 on same server but i m afraid this could crash the running application.m i correct dot net 4.0 will work with these 2.0 & 3.5 without any issue?
please suggest me


thanks


no i do not want to recompile my previous application. i want to install new framework at server and new application which build in .Net 4.0 will run without crashing previous version(2.0 and 3.5).

推荐答案



.Net 4与.net的早期版本向后兼容.

这意味着您想重新编译使用.Net早期版本设计的应用程序,并以新的.Net4框架为目标.

有关详细信息,请参见此处:
http://msdn.microsoft.com/en-us/library/ff602939.aspx [ ^ ]

另一方面,.Net2、3、3.5和4可以愉快地共存于同一台PC上,并且每个应用程序都将使用它所针对的.Net版本.

所以基本上您的问题根本不是问题.

Valery.
Hi,

.Net 4 is backward compatible with the previous versions of .net.

It means that is you want to recompile an application that was designed using a previous version of .Net and target the new .Net4 framework it will work.

See here for details:
http://msdn.microsoft.com/en-us/library/ff602939.aspx[^]

In another hand .Net2, 3, 3.5 and 4 can happily coexist on the same PC and each application will use the version of .Net it is targeting.

So basically your issue is not an issue at all.

Valery.


它的设计使其没有问题.
It was designed such that this is not an issue.


我认为以下链接也将为您提供帮助:
将ASP.NET Web应用程序升级到ASP.NET 4
在同一服务器上使用不同版本的.NET Framework的主机Web应用程序
部署针对.NET Framework早期版本的Web项目

如果这对您真的很有帮助,请不要忘记投票并接受答案.
I think the following links will help you too:
Upgrade an ASP.NET Web Application to ASP.NET 4
Host Web Applications That Use Different Versions of the .NET Framework on the Same Server
Deploy Web Projects Targeted for Earlier Versions of the .NET Framework

If this would be really helpful to you then don''t forgot to Vote and Make Answer as Accepted.


这篇关于点网4.0可以与这些2.0& 3.5没有任何问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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