Azure build error with TFS hosted: Windows Azure Tools \ 2.0 \ Microsoft.WindowsAzure.targets "not found

Im new to Azure and wanted to create a continuous integration build using TFS. I created an assembly definition, but creating my cloud application using a simple website using a hosted assembly server in the assembly definition is not an error:

C: \ a \ src \ myAzure \ myAzure \ myAzure.ccproj (70): imported project "C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v11.0 \ Windows Azure Tools \ 2.0 \ Microsoft.WindowsAzure. targets "not found. Verify that the path in the declaration is correct and that the file exists on disk.

However, I can create locally and manually publish to Azure, and it will work just fine. I suspect the hosted TFS build server does not support Azure 2.0? Is there a way around this problem or will I have to forget the idea of ​​using CI?

+7
source share
1 answer

This seems to be the case since the build is a preview function of the Team Foundation service. The same thing happened with Azure SDK 1.8, but they updated the build servers in a couple of days. Hope this time it doesn’t take much time.

UPDATE: "No, models built on the TF Service platform do not currently have a new SDK 2.0. We expect all users to have Azure SDK 2.0 support after June 1. In the meantime, you will need to use on -prem to build a controller with the bits you need and deploy Azure there. " (C) Trevor Hancock of Microsoft http://social.msdn.microsoft.com/Forums/en-US/azuretfs/thread/2df796d5-1abb-4b89-a571-0b7a62b80d55

UPDATE 2: I was able to complete a successful build using TFS build servers with SDK 2.0. Therefore, I think this problem has been resolved at the moment. In the future, I recommend that you do not upgrade new versions of the Azure SDK until the TFS build servers are ready.

+2
source

All Articles