.net 3.5 到 4.0 迁移

标签 .net .net-3.5 .net-4.0 migration

目前,我们正在 Microsoft Visual Studio 2008 (.Net 3.5) 中使用一些最新功能(如 WCF、WF)开发工资单应用程序,并且该应用程序的开发已基本完成。

但是,客户已表示有兴趣将 Microsoft Visual Studio 2008 (.Net 3.5) 中开发的工资单应用程序迁移到 Microsoft Visual Studio 2010 (.Net 4.0)。

我不知道迁移中的预期挑战,或者它是否会非常顺利。

有什么想法或意见吗?

最佳答案

应该没有挑战。您的所有 3.5 代码都将像使用 VS 2008 构建时一样工作。

如果您进行 Google 搜索,您会发现许多文章的标题类似于“2010 年有什么新鲜事”。你不会找到像“有什么不同”这样的东西

除了来自 MSDN 的这个小花絮:

The .NET Framework 4 is highly compatible with applications that are built with earlier .NET Framework versions, except for some changes that were made to improve security, standards compliance, correctness, reliability, and performance.

The .NET Framework 4 does not automatically use its version of the common language runtime to run applications that are built with earlier versions of the .NET Framework. To run older applications with .NET Framework 4, you must compile your application with the target .NET Framework version specified in the properties for your project in Visual Studio, or you can specify the supported runtime with the Element in an application configuration file.



the article

另外:

If your application or component does not work after .NET Framework 4 is installed, please submit a bug on the Microsoft Connect Web site.



这告诉我 4.0 意味着完全向后兼容,如果不是,那么他们需要修复。

关于.net 3.5 到 4.0 迁移,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3065680/

相关文章:

C# 多线程应用程序和 SQL 连接帮助

visual-studio-2008 - 我可以使用 VS2008 为 .Net 4 编写代码吗?

c# - 通过 ADFS(Active Directory 联合身份验证服务)对用户进行身份验证

c# - 从文本文件中删除一行

.net - 将命令行传递给单实例应用程序的第一个实例

.net - 为什么.NET 4.0 在加载非托管 DLL 时会出现 "CRT not initialized"错误?

.net - 如何使用 asp.net framework 4.0 进行单点登录

c# - 用C#在MySQL中执行带参数的存储过程?

c# - 如何将这 2 种方法重构为 1 种方法?

c# - 在扩展方法中实例化空对象