你能在溶液混合的.NET Framework版本?能在、溶液、版本、NET

2023-09-03 11:53:11 作者:好久没遇见

我们的codeBase的,我的工作是.NET 2.0。对于我们新的装配/ DLL文件/ web应用程序我很想采取何种3.5所提供的优势。

Our codebase where I work is .NET 2.0. For our new assembly/DLLs/web applications I would love to take advantage of what 3.5 has to offer.

可以在一个以溶液混合.NET框架(每个装配)?是否有相关的注意事项本任何IIS?

Can one mix .NET frameworks(per assembly) in a solution? Are there any IIS related caveats to this?

我很乐意听到任何正/负/ HOWTO反馈。让我知道!

I would love to hear any positive/negative/howto feedback. Let me know!

谢谢!

推荐答案

是的,你可以在Visual Studio中做到这一点,它被称为多目标

Yes you can do this in Visual Studio and it is called Multi-Targeting.

斯科特·格思里对Multi-Targeting支持在Visual Studio 。

VS 2008是第一个版本   其中包括Visual Studio的   多目标对.NET的支持。   这是什么意思是,你可以使用   VS 2008创建并不仅仅是编辑   .NET 3.5的项目,也是.NET 3.0   和.NET 2.0的项目也是如此。本   允许开发人员能够更快速地   升级并利用新优势   的Visual Studio工具特性 -   而不必一定需要   .NET的新版本是   安装在客户端和   运行他们的生产服务器   应用程序。

VS 2008 was the first release of Visual Studio that included multi-targeting support for .NET. What this meant was that you could use VS 2008 to create and edit not only .NET 3.5 projects, but also .NET 3.0 and .NET 2.0 projects as well. This allowed developers to more quickly upgrade and take advantage of new Visual Studio tooling features – without having to necessarily require the newer version of .NET to be installed on the clients and production servers running their applications.

干杯