Visual Studio 2008与2010 [英] visual studio 2008 vs 2010

查看:93
本文介绍了Visual Studio 2008与2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚启动了一个项目,其中现有代码库全部都在VS 2008中...我的开发机器和整个实验室都在2010年-我可以安全地留在2010年并与他们的开发团队集成吗,还是我只是要求一个头痛,我需要降级吗? ugh

I have just started a project where teh existing codebase is all in VS 2008 ... My dev machine and entire lab is on 2010 - can I safely stay on 2010 and integrate with their dev team or am I just asking for a headache and do i need to DOWNGRADE? ugh

推荐答案

请参阅
See http://social.msdn.microsoft.com/Forums/da-DK/vsprereleaseannouncements/thread/dae62b32-f526-41a2-9878-78ecb338ff8c[^]

如果继续以.NET 3.5框架为目标,则可以使用代码文件.问题在于VS 2010转换工具会更改项目文件.

因此,您将需要具有项目文件的两个副本,即您使用的副本和VS 2008的副本.

希望对您有所帮助.
If you continue to target the .NET 3.5 framework, you should be OK with the code files. The problem is that the VS 2010 conversion tool changes the project files.

So you would need to have two copies of the project file(s), ones that you use and ones for VS 2008.

Hope this helps.


如果您仅在项目中使用C#.NET代码,而不使用其他第三者的依赖或依赖关系,那么更新到Visual Studio 2010是一个不错的选择和.NET 4.0.
If you only use C# .NET code in your project and not other 3rd party assamblies or dependencies, it is a good choice to update to Visual Studio 2010 and .NET 4.0.


对于我的应用程序,我尝试使用.NET 2.0对VS 2008中的当前版本进行维护(修复错误并进行一些改进),并使用VS 2010和.NET 4.0.

但是随着时间的流逝,差异不断累积,所以最终,我决定在VS 2010中进行所有开发.我已经选择了VS 2010项目,将它们定位于.NET 2.0,删除尚未准备发布的内容并进行维护.

既然我这样做了,那么在修复错误或对发行版本进行一些小的改进时,使项目保持同步就容易得多.实际上,我使用PureCM进行源代码控制,并且大多数情况下,更改会自动合并(但是对于自动生成的文件,当我们需要保持一定的差异时,由于自动生成的代码通常不是很稳定,因此这不适用于自动生成的文件) .

VS 11 Preview是一个很好的新功能,可以打开VS 2010项目,反之亦然.

就我而言,这也是有问题的,因为C ++项目的格式已更改...
For my application, I have tried to do maintenance (fix bugs and do some improvement) of the current version in VS 2008 using .NET 2.0 and do main development using VS 2010 and .NET 4.0.

But with time, differences were accumulating so in the end, I decide to do all developement in VS 2010. I have taken the VS 2010 projects, target them to .NET 2.0, remove the stuff not ready for release and take that for maintenance.

Since I have done that, it is much easier to keep projects in sync when bugs are fixed or some minor improvement are done for the released versions. In fact, I use PureCM for source control and most of the time, changes are automatically merged (but this does not work well for auto-generated files when we need to keep some difference as often the auto-generated code is not very stable).

A good new is that VS 11 Preview is able to open VS 2010 projects and vice-versa.

In my case, it was also problematic because the format of C++ projects has changed...


这篇关于Visual Studio 2008与2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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