0
votes

I am getting the following error in my build process:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets (182): Could not copy the file "xyz" because it was not found

I know that this file doesn't exist, but I can't find where that copy has been set. Any help?

Thanks

1
Really hard to diagnose with so little info. First thing to do is to try and repro the issue outside of TFS build on your workstation. Is your TFS build setup to build the release configuration for example? Can you build like that locally?sburgess123
Do you have Visual Studio installed on the Build Server?Jonathan Nixon

1 Answers

0
votes

That targets file is usually called when publishing a web application. If you project references files that aren't checked in, this can cause this to fail.