如何升级多个项目(同一个解决方案)这是针对3.5至4.0在一个去? [英] How can I upgrade multiple projects (same solution) that's targeting 3.5 to 4.0 in one go?

查看:180
本文介绍了如何升级多个项目(同一个解决方案)这是针对3.5至4.0在一个去?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个大的解决方案,我们有大约100〜项目的所有目标3.5,目前在VS.NET 2010。

In one big solution we have about 100~ projects all targeting 3.5 and currently in VS.NET 2010.

现在,我们希望将它升级到.NET 4.0,我必须去一个接一个,改变他们的目标是什么?或者是有什么办法来自动完成这个过程?

Now we want to upgrade it to .NET 4.0, do I have to go one by one and change their target? or is there any way to automate this process?

推荐答案

在升级许多项目和类似的操作我通常使用查找和替换文件。

When upgrading many projects and similar operation I usually use Find and replace in files.

首先,我升级一个项目的差异比较结果,然后我搜索和替换相关零部件在我的.csproj文件。

First I upgrade one project and diff the result, then I search and replace relevant parts in my .csproj files.

这篇关于如何升级多个项目(同一个解决方案)这是针对3.5至4.0在一个去?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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