从.NET 2.0升级到.NET 3.5问题 [英] Upgrade from .NET 2.0 to .NET 3.5 problems

查看:85
本文介绍了从.NET 2.0升级到.NET 3.5问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将解决方案从VS2005 .NET 2.0升级到VS2008 .NET 3.5。我使用VS2008转换向导转换了解决方案。所有项目(约50个)仍以.NET Framework 2.0为目标。此外,如果我手动更改其中一个项目的目标框架,则所有引用的dll(即System,System.Core,System.Data等)仍然指向Framework 2.0的方法完全改变目标框架的唯一方法是删除这些引用,然后使用适当版本的框架再次引用它们,我认为手动选择不是最佳选择,每50个项目〜10个参考〜0.5分钟更改每个参考大约需要5个小时才能完成,我是否还缺少一些东西?还有其他将完整解决方案从.NET 2.0转换为.NET 3.5的方法吗?
谢谢。

I’m trying to upgrade our solution from VS2005 .NET 2.0 to VS2008 .NET 3.5. I converted the solution using VS2008 conversion wizard. All the projects (about 50) remained targeting to .NET Framework 2.0., moreover if I’m changing target framework manually for one of the projects, all referenced dll (i.e. System, System.Core, System.Data, etc. are still pointing to Framework 2.0. The only way to completely change targeting framework I found is to remove these references and refer them again using proper version of framework. Doing it manually is not best choice I think. 50 projects ~ 10 references each ~ 0.5 minutes for changing each reference is about 5 hours to complete. Am I missing something? Are there any other ways of converting full solution from .NET 2.0 to .NET 3.5? Thank you.

推荐答案

.NET 3.5框架不包括基础程序集的新版本,System,System.Data等仍为2.0.0.0版本,仅添加的程序集具有版本。 3.0(如WPF和WCF)或3.5(如System.Core和System.Linq),运行时版本(CLR)仍为2.0.5072 7

The .NET 3.5 framework doesn't include new versions of the base assemblies. System, System.Data etc are still version 2.0.0.0. Only the added assemblies have versions 3.0 (like WPF and WCF) or 3.5 (like System.Core and System.Linq). The runtime version (the CLR) is also still 2.0.50727

您没有问题。

这篇关于从.NET 2.0升级到.NET 3.5问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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