Bamboo Cloud and Elastic Bamboo for Deploying to Azure

Hi All,

I am working on Bamboo Cloud and Elastic Bamboo to deploy the build to Azure Cloud Service. Basically, the requirement is as below

a. Implement the continuous integration using Bamboo Cloud

b. Get the source code from Bitbucket Cloud

c. Use Amazon EC2 instances as remote agents (Elastic Bamboo)

d. Build the project on remote instance (Amazon Ec2 Instance) 

e. On successful build, prepare the package that can be uploaded to Microsoft Azure Cloud Service

f. Once the package is ready, upload the package to Azure Cloud Service

g. Once the deployment is completed, trigger the Testing Automation Scripts

I have achieved the above using Bamboo Server, but want to try with Bamboo Cloud and Amazon EC2. 

I have been successful in creating the Amazon EC2 instance and get the source code checked out in it though the Bamboo Job / Task. But while building the project, I am getting the below error

 

Project "C:\build\AC-AC-JOB1\CIPOC.sln" (1) is building "C:\build\AC-AC-JOB1\CIPOC\CIPOC.csproj" (2) on node 1 (default targets).
C:\build\AC-AC-JOB1\CIPOC\CIPOC.csproj(327,3): error MSB4019: 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.
Project "C:\build\AC-AC-JOB1\CIPOC.sln" (1) is building "C:\build\AC-AC-JOB1\CIPOC.Azure\CIPOC.Azure.ccproj" (3) on node 1 (default targets).
C:\build\AC-AC-JOB1\CIPOC.Azure\CIPOC.Azure.ccproj(61,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Windows Azure Tools\2.7\Microsoft.WindowsAzure.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
"C:\build\AC-AC-JOB1\CIPOC\CIPOC.csproj" (default target) (2) ->
C:\build\AC-AC-JOB1\CIPOC\CIPOC.csproj(327,3): error MSB4019: 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.
"C:\build\AC-AC-JOB1\CIPOC.Azure\CIPOC.Azure.ccproj" (default target) (3) ->
C:\build\AC-AC-JOB1\CIPOC.Azure\CIPOC.Azure.ccproj(61,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Windows Azure Tools\2.7\Microsoft.WindowsAzure.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

 

Probably once the complete solution is ready, I can share the information with everyone. But need help during the initial phase.

Thanks 

 

1 answer

Did anyone figure out how to fix this? I also have the same issue buildin a .net MVC application.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,819 views 0 6
Read article

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