你同时需要.NET 3.5和4.0安装或只是.NET 4? [英] Do you need both .net 3.5 and 4.0 installed or just .net 4?

查看:795
本文介绍了你同时需要.NET 3.5和4.0安装或只是.NET 4?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

同时运行3.5和4.0 Web应用程序?

to run both 3.5 and 4.0 web apps?

推荐答案

我记得读一些曾经从微软的说明:

I remember reading something once from Microsoft that stated:

。NET 4.0增加了在进程并排侧   与早期版本的兼容性   框架。通过此功能,   应用程序同时   运行其使用.NET code部分   公共语言运行时(CLR)4   使用旧版本的其它部分   CLR的。

".NET 4.0 adds in-process side-by-side compatibility with earlier versions of the Framework. This feature allows an application process to simultaneously run part of its code using the .NET Common Language Runtime (CLR) 4 and other parts using older versions of the CLR."

因此​​,要回答你的问题,你只需要两个,如果您的应用程序来自使用功能或altenatively你必须使用.NET 3.5和.NET 4.0独立的Web应用程序。

So to answer your question you only need both if your application uses features from both or altenatively you have separate web applications that use .NET 3.5 and .NET 4.0.

.NET 4.0应罚款本身,只要你可以在你的应用程序3.5升级到4.0。 此页面有一些有用的infrmation。

.NET 4.0 should be fine by itself, as long as you can upgrade your 3.5 applications to 4.0. This page has some useful infrmation.

<一个href="https://www.directionsonmicrosoft.com/dom-update/52-june-2009/726-net-framework-4-eases-backward-compatibility.html">Heres我在那里读它。

这篇关于你同时需要.NET 3.5和4.0安装或只是.NET 4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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