2

我可以将 MSVC2010 编译器更新到 MSVC2012 但仍然使用 MSVC2010 集成开发环境吗?如果我有像QT这样用MSVC2010编译的第三方,更新后还能用吗?谢谢

4

1 回答 1

0

For the x86 build environment, write this in a batch file. Remove the call keyword if commands are typed in the command line:

call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86
start "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /useenv

Take a look at other shortcuts in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Visual Studio 2012\Visual Studio Tools too see how to setup for x64 or ARM builds.

Intellisense probably should be turned off as the old engine complains a lot about new language constructs (e.g. range-based for statement). Debugger gets correct reading on a vector despite the size change in VC11 but I am not sure how much trust you want to put on the visualizers for other types.

于 2013-04-09T20:49:41.573 回答