If you experience an error message like this, it is an indicated that there is something wrong with the Microsoft.net 2.0 installation. Try reinstalling it.
CS0006: Metadata file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll' could not be found