visual-studio 将 Visual Studio 2010 与 VS2008 并排安装会导致问题吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 
原文地址: http://stackoverflow.com/questions/879913/
Warning: these are provided under cc-by-sa 4.0 license.  You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Will installing Visual Studio 2010 side by side with VS2008 cause problems?
提问by vzczc
What kind of problems might this cause?
这可能会导致什么样的问题?
Is it better to install in a VM?
安装在VM中更好吗?
采纳答案by Dustin Campbell
It is always possible that side-by-side installation issues exist, and you should have the appropriate safeguards in place (e.g. backup, use a VM, etc.).
并行安装问题始终可能存在,您应该采取适当的保护措施(例如备份、使用 VM 等)。
In my personal experience, it has worked just fine. For my Tech Ed presentation, I rebuilt my laptop with Visual Studio 2005, 2008 and 2010 all installed side-by-side on Windows 7 x64. I didn't experience any problems.
根据我的个人经验,它工作得很好。在我的 Tech Ed 演示文稿中,我使用 Visual Studio 2005、2008 和 2010 并排安装在 Windows 7 x64 上重建了我的笔记本电脑。我没有遇到任何问题。
回答by sean e
The VS team has chimed in on this issue here. From the post:
"Q: Is it ‘safe' to install VS 2010 Beta1 on my machine?
“问:在我的机器上安装 VS 2010 Beta1 是否‘安全’?
A: Yes! We've tested side-by-side scenarios, so installing the beta on a machine with VS 2008 installed is fine. The beta also supports uninstall and should leave VS 2008 and your machine in working order afterward. You can install VS 2010 Beta1 on a VPC if you prefer, though you will notice slower performance than if you run VS on your local machine. And please remember that however you install, this is pre-release software. The VS 2010 Beta1 readme documents major known issues, but it's not guaranteed to be an exhaustive list."
答:是的!我们已经测试了并行方案,因此在安装了 VS 2008 的机器上安装测试版是可以的。测试版还支持卸载,之后应该让 VS 2008 和您的机器处于工作状态。如果您愿意,您可以在 VPC 上安装 VS 2010 Beta1,但您会发现性能比在本地计算机上运行 VS 慢。请记住,无论您如何安装,这是预发布软件。VS 2010 Beta1 自述文件记录了主要的已知问题,但不能保证是详尽的列表。”
回答by BALKANGraph
On my machine I have installed:
在我的机器上,我安装了:
- Visual Studio 2003
- Visual Studio 2005
- Visual Studio 2008
- Visual Studio 2010
- 视觉工作室 2003
- 视觉工作室 2005
- 视觉工作室 2008
- 视觉工作室 2010
and it works like a charm
它就像一个魅力
s
秒
回答by Aaron Powell
It's unlikely to cause problems as VS 2010 is primarilydesigned for developing with the .NET 4.0 framework (although multi-targeting is implemented, like it was in VS 2008, just in a better manner).
它不太可能导致问题,因为 VS 2010主要是为使用 .NET 4.0 框架开发而设计的(尽管实现了多目标,就像在 VS 2008 中一样,只是以更好的方式)。
I (and no one I work with) ever had a problem with VS 2005 & VS 2008 installed side-by-side. In fact, it was strongly encouraged as we had legacy projects which were built in VS 2005 and although the upgrade to VS 2008 was minor (if staying with the .NET 2.0 framework for the projects) it was safer to not risk it.
我(和我一起工作的人)从来没有遇到过并排安装 VS 2005 和 VS 2008 的问题。事实上,我们强烈鼓励这样做,因为我们有在 VS 2005 中构建的遗留项目,尽管升级到 VS 2008 是次要的(如果保留项目的 .NET 2.0 框架),但不冒险更安全。
If you're really concerned about conflicts or potential issues using beta software may not be for you. If you do want to try it and still have reservations I'd suggest that you do use a separate VM with VS 2010 on it.
如果您真的担心冲突或潜在问题,使用测试版软件可能不适合您。如果您确实想尝试但仍有保留,我建议您使用带有 VS 2010 的单独 VM。
I myself will be installing it side-by-side with VS 2008 on Vista (after backing up my VM) so if there are any problems I'll edit this post and report them.
我自己将在 Vista 上与 VS 2008 并排安装它(在备份我的 VM 之后),所以如果有任何问题,我将编辑这篇文章并报告它们。
回答by Robert S.
I have Visual Studio 2008 Professional SP1 and Visual Studio 2010 Team Suite installed on my Windows 7 box. I have had zero issues so far.
我的 Windows 7 机器上安装了 Visual Studio 2008 Professional SP1 和 Visual Studio 2010 Team Suite。到目前为止,我的问题为零。
Does that mean you won't? I have no idea.
这是否意味着你不会?我不知道。
回答by John Saunders
I don't expect any problems with VS2010 RTM installed side by side with any of the previous versions.
我不认为 VS2010 RTM 与任何以前的版本并排安装会出现任何问题。
But this is a beta. Installing it on your computer means you're asking to have your disk reformatted (metaphorically speaking). Be sure you're ready to reformat the disk you install it on.
但这是一个测试版。在您的计算机上安装它意味着您要求重新格式化您的磁盘(比喻地说)。确保您已准备好重新格式化安装它的磁盘。
For me, that means I run it in a VM.
对我来说,这意味着我在 VM 中运行它。
That said, there's a good chance I'll install the RC when it ships, but that's just me trying to find the bugs so others don't have to.
也就是说,我很有可能会在 RC 发货时安装它,但这只是我试图找到错误以便其他人不必这样做。
回答by Chuck Haines
You can install them side by side and it's supported by Microsoft to do so. For more information visit the Microsoft site on doing it located here, http://msdn.microsoft.com/en-us/library/ms246609.aspx.
您可以并排安装它们,并且 Microsoft 支持这样做。有关详细信息,请访问位于此处的 Microsoft 站点,http://msdn.microsoft.com/en-us/library/ms246609.aspx。
However you might want to determine why you would need to do such. Visual Studio 2010 support multi-targeting as in previous Visual Studio versions however it is much more advanced in 2010. You can easily upgrade you project to 2010 by using the project import and then target whatever .NET version you need. The only thing to note here is that once you upgrade to 2010, you will no longer be able to open the project in 2008 and the back conversion is not an easy process.
但是,您可能想确定为什么需要这样做。Visual Studio 2010 与以前的 Visual Studio 版本一样支持多目标,但它在 2010 中要先进得多。您可以使用项目导入轻松将项目升级到 2010,然后以您需要的任何 .NET 版本为目标。这里唯一需要注意的是,一旦升级到2010,您将无法再打开2008的项目,并且回转换不是一个简单的过程。
回答by P.F.
This is an old question, but just in case someone else is in need of the answer:
这是一个老问题,但以防万一其他人需要答案:
VS 2010 doesn't support .Net compact framework anymore, so you are stuck with WinPhoneonly.  You basically have to use VS 2008 for your Windows mobile 6.5 projects. To me, this is just another reason to install 2008 and 2010 side-by-side.
VS 2010 不再支持 .Net 紧凑型框架,因此您WinPhone只能使用它。您基本上必须将 VS 2008 用于您的 Windows mobile 6.5 项目。对我来说,这只是同时安装 2008 和 2010 的另一个原因。
回答by Jbassmanp
I have profession ver of 2003, 2005, and 2008 all installed and they worked great on the same pc. I even installed the beta 2010 and it worked for a while in uninstalled because it didn't hav crystal reports. Just within the last month I purchased pro ver of 2010 and it blew my 2008 to shreds. I couldn't load data bases anymore, system would stal or stop period. So I'm loading it (2010) on a different PC. They seemed to merge and us settings from each other.
我已经安装了 2003、2005 和 2008 的专业版,并且它们在同一台电脑上运行良好。我什至安装了 beta 2010,它在卸载时工作了一段时间,因为它没有水晶报告。就在上个月,我购买了 2010 年的 pro ver,它把我的 2008 年吹得粉碎。我无法再加载数据库,系统会停止或停止。所以我在不同的 PC 上加载它(2010)。他们似乎合并了我们彼此的设置。
回答by Brett
For what it's worth I've installed both VS2008 and VS2010 on the same box without issue. Uninstallation can cause some hiccups but those are directly related to VS2010 being new and shouldn't affect 2008.
值得一提的是,我在同一个盒子上安装了 VS2008 和 VS2010,没有任何问题。卸载可能会导致一些小问题,但这与 VS2010 是新的直接相关,不应该影响 2008。

