并行 Visual Studio 安装
Visual Studio Professional 2008 和 Visual C++ Express 2008 可以毫无问题地并行安装吗?
更新
我工作的环境中,有些团队有专业人士,有些团队有特快专递。我有专业版(但尚未安装 C++ Express),由于某种原因,该解决方案无法为专业人士编译(来自 svn),但它可以为 Express 用户编译。我不知道还要检查什么:\
更新2
编译错误是 stdio
中的数千个错误,并且它们发生在所有构建配置中。
c:\program files\microsoft Visual Studio 9.0\vc\include\stdio.h(189):错误 C2144:语法错误:“int”前面应带有“;”
更新
重置 Visual Studio 设置修复了构建错误。这不是我最喜欢的解决问题的方法,但它确实有效。将@Kevin 标记为他的努力的回答者。
Can Visual Studio Professional 2008 and Visual C++ Express 2008 be installed side by side without problems?
update
I am working in a situation where some of the team has pro, some have express. I have pro (but have not installed C++ Express) and for some reason, the solution doesn't compile for professional (fresh from svn), but it does compile for Express users. I don't know what else to check :\
update 2
The compile errors are thousands of errors in stdio
, and they occur in all build configurations.
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2144: syntax error : 'int' should be preceded by ';'
update
resetting visual studio settings fixed the build errors. Not exactly my favorite way to fix things, but it worked. Marking @Kevin as the answerer for his effort.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您能告诉我们更多有关您遇到的编译问题的信息吗?一种可能性是项目的构建配置之一存在问题,并且当您在 VS Professional 中打开它时选择了错误的配置。
编辑:抱歉,我误解了这个问题,“我可以并排安装两个 VS 版本吗?”例如,“我的并行安装是否会导致编译错误?”
为了回答实际问题,我长期以来并排使用 VS2008 Professional 和 VC#2008 Express 没有任何问题。我刚刚与一位同事核实并确认它也适用于 C++ 版本。
Could you tell us more about which compilation issue you're having? One possibility is that there is a problem with one of the project's build configurations, and that bad configuration is selected when you open it in VS Professional.
EDIT: Sorry, I misinterpreted the question, "Can I install the two VS versions side by side?" As, "Could my side by side installation be causing my compilation error?"
To answer the actual question, I've long used VS2008 Professional and VC#2008 Express side by side without issue. I just checked and confirmed with a coworker that it also works fine for the C++ version.
不可以。
不同版本的 Visual Studio 设计为并行安装(例如 2008 和 2010),但同一版本的不同版本不能并行安装。
如果您已经安装了 Professional,为什么还要安装 Express?
No.
Different versions of Visual Studio are designed to be installed side by side (such as 2008 and 2010) but not different editions of the same version.
Why would you want Express still installed if you had Professional anyway?
由于 Visual Studio 2008 Pro 包含 Visual C++,因此我看不到这样做有什么好处。
Since Visual Studio 2008 Pro includes Visual C++, I don't see the benefit in doing this.