TeamCity error

Answered

 When doing building asp.net application in Teamcity I am getting below error

 

The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

 

 

Plz help

0
1 comment

The message is saying that that file doesn't exist (or is not accessible). You need to make sure it exists (in the agent that is running the build), or remove the hardcoded full path from your project and make it relative to the build directory (and make sure it's in the VCS if that's the case)

0

Please sign in to leave a comment.