5

We recently updated our Azure SDK to 2.8. Now when building our solution on VSO hosted build we get build errors.

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

I've found another one with similar issues with a question posted on MSDN but without any answers. Support for Azure SDK 2.8 in hosted build

Anyone know how to get around this issue? Do we have to downgrade?

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
honk
  • 581
  • 4
  • 19

2 Answers2

4

We are working on the update now. Azure 2.8 should be on the build machines week of Nov. 30.

Update: We ran into a couple of issues and still hope to have this completed this week, but it may slip into next week.

Update Dec. 17: We finally got the updated image with Azure 2.8 into production yesterday. Sorry for the long delay.

Buck Hodges
  • 3,342
  • 1
  • 19
  • 20
  • 2h 36min left of Monday "next week", how much longer will the "slipping" last? – NoOneSpecial Dec 07 '15 at 21:24
  • I'm embarrassed to say I can only apologize. The team's had a tough time working through some issues with this one. – Buck Hodges Dec 09 '15 at 02:32
  • Is it coming soon? I mean is it worth waiting for a few days or just go ahead and deploy our own build agent? – Ivan G. Dec 10 '15 at 08:41
  • I've asked for an update on the status this morning. I would say wait, but I'm clearly an optimist. I'll add more when I get more info today. – Buck Hodges Dec 11 '15 at 13:42
  • It's going to be longer - hopefully some time next week - because the team hit more issues with trying to get the base image updated. I'm sorry about the delay. – Buck Hodges Dec 12 '15 at 01:00
  • 1
    Good news...it's finally out. Sorry it took so terribly long. – Buck Hodges Dec 17 '15 at 15:32
  • Is there going to be a public statement along the lines of: "This took X days to complete because we were contending with XYZ issues. These have been resolved and future upgrades will be smoother as a result." I know I'm curious to know what happened. :) – Erik Dec 18 '15 at 17:53
  • My build is still failing with this error message, as of a few minutes ago. Perhaps the fix hasn't been rolled out everywhere? – Saqib Dec 18 '15 at 20:54
  • It is supposed to be on all build machines. What is your account URL? – Buck Hodges Dec 19 '15 at 18:57
  • We also just upgraded all of our solutions to Azure SDK 2.8.1 and our builds are failing on VSO hosted builds. "The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\2.8\Microsoft.WindowsAzure.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk." – Bill Christenson Dec 23 '15 at 22:09
  • @BuckHodges, I am experiencing the same problem as Bill. Still cannot publish via build controller targeting Azude SDK 2.8.1. Can we get an update on this please? – John Washam Jan 06 '16 at 19:23
  • @JohnWasham I have submitted a Microsoft support ticket. I'll let you know when we find something out soon. – Bill Christenson Jan 06 '16 at 19:46
  • Unfortunately, I've found out we've updated one type of builds and not the other (counter to my "all build machines" statement above). The build machines that use the new build system have Azure 2.8. The images for the build machine used by the older XAML-based builds do not have it. Yes, I realize how bad this sounds as I am writing it, and I apologize. I'll let you know when I have a date for this to be fixed. – Buck Hodges Jan 08 '16 at 03:56
  • @BuckHodges, understood, thanks for the update. It's better at least knowing that a fix is coming. – John Washam Jan 08 '16 at 18:33
  • @JohnWasham Microsoft closed the ticket on me as they confirmed it was an issue with no time given for a fix. However, I was able to build with no problems 1/26/2016. Give it a try. – Bill Christenson Jan 26 '16 at 21:11
  • @BuckHodges any update on this issue, my automated builds are still bombing :( – Shay Apr 08 '16 at 08:10
2

The latest Azure SDK supported on Hosted build is 2.7. Refer to Hosted build controller for details.

To build your solution, you'd either downgrade Azure SDK version to 2.7 or deploy your own build agent and install Azure SDK 2.8 on it.

Eddie Chen - MSFT
  • 29,708
  • 2
  • 46
  • 60
  • According to this documentation https://msdn.microsoft.com/Library/vs/alm/Build/services/hosted-build-controller Azure SDK 2.8 is supposed to be installed on the hosted build controllers. It appears to not be as of 12/23. – Bill Christenson Dec 23 '15 at 22:14