将项目从VS 2008迁移到VS 2010 [英] Moving Project from VS 2008 to VS 2010

查看:49
本文介绍了将项目从VS 2008迁移到VS 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我第一次尝试移动一个大项目(5个子项目+ sql Server 2008 R2上的大数据库)从vs 2008到vs 2010,我知道用vs 2010打开projet足以使用visual studio转换向导进行转换。

所以在开始任何转换之前,我想知道我是否必须逐个转换5个项目或者只是主要解决方案?我的DB有什么特质吗?



感谢您的回答



Thim。

Hi all,

For the first time, I'm trying to move a big project(5 sub projects + big Data Base on sql Server 2008 R2) from vs 2008 to vs 2010, I know that opening the projet with vs 2010 is enough to make the conversion with visual studio conversion wizard.
So before beginning any conversion I 'd like to know if I have to convert the 5 projects, one by one or just the Main solution? is there any traitements to do for my DB ?

Thanks for answering

Thim.

推荐答案

我同意_duDE_,立即转换整个解决方案。确保你首先备份你的解决方案(总是最好的做法 - 永远不要相信软件!)VS会问你是否要在转换前备份解决方案,但我的偏好是自己在一个结构中(优先源控制)我可以直接控制。



您无需为数据库做任何准备工作。如果任何项目是SQL CLR项目,则部署解决方案将在适当时更新这些项目。您可以在部署之前备份数据库(安全第一),但是您始终可以从解决方案备份恢复到VS 2008版本以进行灾难恢复。



我' d提倡保留VS 2008的副本(最好是在VM或隔离的引导或机器中),至少在部署所有更新并确保没有问题之前。我自己还没有遇到VS升级的任何问题,但我仍然先练习安全!



最后一个提示,对任何升级警告采取行动,特别是对于已弃用的课程等。
I agree with _duDE_, convert the whole solution at once. Make sure you have backed-up your solution first (always best practice - never trust software!) VS will ask you if you want to backup the solution before conversion, but my preference is to do it myself in a structure (source control prefereably) that I have direct control over.

You don't need to do anything to your database to prepare. If any of the projects are SQL CLR projects, deploying your solution will update those when appropriate. you could back-up the database before deployment (safety first), but you can always revert to the VS 2008 version from your solution backups for disaster recovery.

I'd advocate keeping a copy of VS 2008 (preferably in a VM or isolated boot or machine), at least until you have deployed all updates and are sure there are no problems. I've yet to experience any problems with a VS upgrade myself, but I still practice safety first!

One last tip, act on any upgrade warnings, especially for deprecated classes etc..


这篇关于将项目从VS 2008迁移到VS 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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