user1899020
user1899020

Reputation: 13575

MSVC compiler update

Can I update MSVC2010 compilter to MSVC2012 but still with the MSVC2010 integrated development environment? If I have some third party like QT which is compiled with MSVC2010, can I still use it after the updating?

Upvotes: 2

Views: 1262

Answers (1)

Sheng Jiang 蒋晟
Sheng Jiang 蒋晟

Reputation: 15281

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.

Upvotes: 0

Related Questions