I am attempting to use Visual Studio\'s Team Explorer and TFS to create a Build Definition to deploy a MVC site to IIS.
I followed the Pluralsight tutorial called \'
I solved the problem by examining the contents on my local machine and the comparing it with the build server.
I found that the 'Web' and 'WebApplication' folders on my local machine at 'C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0' were not present in the same location on the build server.
Once I copied and pasted them across my build worked and the mvc site was deployed to IIS as expected.