Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo MSBuils task - Microsoft.WebApplication.targets" was not found

my MSbuild task for .Net is keep on failing with below error for all the projects

Microsoft.WebApplication.targets" was not found, I'm not finding any solved solutions on line with bamboo MSBuild setup. Need help.

1 answer

0 votes
Jeyanthan I Atlassian Team Sep 20, 2017

With the little information you have provided, I just googled the error and found this post. Did you follow the steps mentioned there?

Can you please try to run the same project from the command line of your EC2 instance (from the same directory where Bamboo tries to run your project) using the same user that runs the elastic agent. If you get the same error running your project from command line (without Bamboo) then the problem is not really related to Bamboo.

if it works fine from command line, check the following

  • if the path you have given in Project File field is enclosed in double quotes (")
  • Check if you are running as the same user and with the same environment variables. Compare the environment variables of both command line and Bamboo by running the command "SET" (using a script task before MSBuild task) and spot the difference and fix it.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

587 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you