I get this error when trying to build a project using Team Build (MSBuild) on TFS 2010:
C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Micro
I was getting the same error, and after reading your "administrator" comment - I just ran VS Command Prompt as Admin and it now works fine.