I have an extremely small project in visual studio 2012 (only 50 lines of code). I only have one source file (main.cpp
). But yet it takes about 20 seconds or more t
The code is not using anything that can make the compiler sweat.
Some options that might hold up performance: clear %localappdata%\Microsoft\WebSiteCache Also clear out %localappdata%\temp folder.
Unplug your n/w cable and try (or turn of wireless connection).
Also in tools\options\debugging: disable edit and continue. you might be generating MAP, PDB etc... See what you need and what you don't.
Some people have reported that turning of "hardware acceleration' helps (options)!
Check your PCH (pre compiled header file) and see if it has grown too big.
Allow incremental linking so that everthing is not being built all the time.
Also, ensure that the disk is not fragmented.