error MSB4019 when building Visual Studio 2012 solution

Hi there,

I am trying to build VS 2012 solution and getting this error:

C:\build-dir\XXXDEV-JOB1\XXX..Web\XXX.Web.csproj(473,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

Looks like VisualStudio v10.0 is not installed on the agent, when I am running it locally it is using Visual Studio v11.0 and everything is fine.

Any idea?

1 answer

1 accepted

0 votes
Accepted answer
Jason Worley Atlassian Team Mar 11, 2013

Greetings,

For those seeing this posting for the first time, there is an identical question that is more current here:

https://answers.atlassian.com/questions/78854/how-can-i-fix-this-bamboo-build-error-error-msb4019-the-imported-project

Cheers,

Jason | Atlassian

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

2,156 views 8 7
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you