When trying to setup continuos integration with TFS (Team Foundation Server) build service, I get the following error:
Keep in mind that my development machine (from where I queue my build) is different than my TFS build machine.
So, there are two solution to this problem:
- Install Visual Studio 2010 (or the same version as in development machine) in your TFS server.
- Copy the “Microsoft.WebApplication.targets” from development machine file to TFS build machine.