Visual Studio 2010 &2008 并存装置 [英] Coexisting installation of visual studio 2010 &2008

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

问题描述

我目前有 MVS2008,我想尝试 2010 版本,希望它能更快地编译 C 程序.我想知道我是否可以将 2008 安装与 2010 安装共存在同一个 Windows 分区上,而不会在 Win XP 中的 Windows 环境变量中发生冲突.

I currently have MVS2008 and I want to try the 2010 version hoping that it would compile C programs faster. I would like to know if I can have a 2008 installation coexisting with a 2010 installation on the same Windows partition, without conflicts in the Windows environment variables in Win XP.

非常感谢...

推荐答案

是的,我有这个设置,它对我来说就像一个魅力.

Yes, I have that setup and it works like a charm for me.

您不需要设置任何全局环境变量 - 每个版本的 Visual Studio 都会创建自己的Visual Studio 20xx 命令提示符"命令,该命令用于启动具有正确环境设置的命令提示符.

You don't need to have any global environment variables set up - each version of Visual Studio creates its own "Visual Studio 20xx Command Prompt" command that starts a Command Prompt with the right environment set up.

(还有一个批处理文件,如果我没记错的话,叫做 vcvars32.bat,你可以运行它在现有的命令提示符或批处理文件等中设置环境)

(There's also a batch file, called vcvars32.bat if I recall correctly, that you can run to set up the environment in an existing Command Prompt, or a batch file, etc.)

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

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