Search code examples
visual-c++windows-forms-designer

VC++ hangs and freezes computer upon completion of compilation


When the compiling of a project is complete (or at least when it says it does), I receive no window, no error message, or anything; VC++ freezes up and my computer basically stops responding altogether.

After about five minutes, Task Manager finally pops up and I'm able to close the program. Upon doing that, I see this:

I'm going to take a wild guess here and say something is wrong with the image above. On a side note, the process' (MSBuild.exe) don't (seem) to open all at once, but that may only seem that way because the computer becomes frozen multiple times until I shutdown vc++.

Is this a known issue and if so what should I do so I can compile programs without this issue once again?

Additional Information:

  • Windows 7
  • Microsoft Visual C++ 2010 xpress
  • Project Type(s): I've tried on "Windows Form Application" project and "Win32 Project", both produce the same results.
  • Compiling projects in VB works as it should. (in case this helps at all)

Solution

  • As suggested by Hans Passant, disabling avast! solved the problem.