Been through this issue and looked around for a solution but finally got it working by doing the following 2 steps:
Copy your C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0 to C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0 as it is on
Read More