I ran into compilation problems with my MSVS 10 after installing MSVS 11Beta. Now, when I compile my C# Projects in MSVS 10 (Projects created in MSVS 10; Target framework: 3.5),
Setting Setting DisableOutOfProcTaskHost = true in an environment variable worked for me.
DisableOutOfProcTaskHost = true