Quick question to help us narrow this down. When you are running code analysis are you running native code analysis or managed? From your problem I suspect that this is native code analysis. In this case, your problem here is very likely a hang caused by a corruption as we attempt to write errors to the output window. This issue is fixed in the VS 2005 Service Pack Beta and you can work around this issue by running code analysis from the command line.
Note: The service pack beta contains an equally annoying bug -- code analysis contains an excessive amount of debug output. Before installing VS 2005 Service Pack Beta, save a copy of the mspft80.dll file that is located in your \Microsoft Visual Studio 8\VC\bin directory, and after the service pack has installed replace the service pack version with the RTM version. While this means you will not have the updated analysis, you will also not encounter the debug output bug.
Thanks, Dave Lubash Microsoft TeamDev |