Install VS2010 beta2 on windows server 2008 SP2 64bit
Install TypemockIsolator2010Setup600
Create a project and right click to select run code analysis
Result:
fxcopcmd.exe hangs.
This is caused by the process runs as STA instead of MTA thread mode.
The issue does not happen without typemock integrated.
An easy test is to run the following code in a console app by pressing control+F5, the result is STA.
If you press F5, it shows MTA.
class Program
{
[MTAThread()]
static void Main(string[] args)
{
Console.WriteLine(System.Threading.Thread.CurrentThread.ApartmentState.ToString());
}
}