Visual Studio Build - Azure 2.9 SDK

I am trying to create my software in Visual Studio Team Services. I recently upgraded from VS 2013 to VS 2015. I upgraded from Azure 2.6 to the Azure 2.9 SDK. When the software builds, I get this error:

C: \ a \ src \ CCC \ Azure \ CloudService1 \ CloudService1.ccproj (95, 0) Imported project "C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v14.0 \ Windows Azure Tools \ 2.9 \ Microsoft .WindowsAzure.targets "not found. Verify that the path in the declaration is correct and that the file exists on disk.

Currently not supported 2.9? Here is my ccproj file:

<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>2.9</ProductVersion> <ProjectGuid>XX</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>CloudService1</RootNamespace> <AssemblyName>CloudService1</AssemblyName> <StartDevelopmentStorage>True</StartDevelopmentStorage> <Name>CloudService1</Name> <SccProjectName>SAK</SccProjectName> <SccProvider>SAK</SccProvider> <SccAuxPath>SAK</SccAuxPath> <SccLocalPath>SAK</SccLocalPath> <UseEmulatorExpressByDefault>False</UseEmulatorExpressByDefault> </PropertyGroup> <!-- Import the target files for this project template --> <PropertyGroup> <VisualStudioVersion Condition=" '$(VisualStudioVersion)' == '' ">10.0</VisualStudioVersion> <CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows Azure Tools\2.9\</CloudExtensionsDir> </PropertyGroup> <Import Project="$(CloudExtensionsDir)Microsoft.WindowsAzure.targets" /> 

+1
source share
1 answer

I found that the XAML Build Definitions are out of date, so you cannot post any assemblies above the Azure SDK 2.8. You must upgrade to the hosted assembly:

  • In VS, go to team explorer> builds.
  • In the trigger, set it manually. This will disable XAML auto builds.
  • In Visual Studio Online, select your project.
  • Click assembly.
  • Click the plus sign.
  • Select Visual Studio.
  • Create a new assembly definition.
0
source

Source: https://habr.com/ru/post/1265549/


All Articles