2 ***********************************************************************************************
\r
3 Microsoft.NET.Sdk.Publish.Kudu.targets
\r
5 WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
\r
6 created a backup copy. Incorrect changes to this file will make it
\r
7 impossible to load or build your web deploy projects from the command-line or the IDE.
\r
9 This file defines the steps in the standard build process to deploy web application projects.
\r
11 Copyright (C) Microsoft Corporation. All rights reserved.
\r
12 ***********************************************************************************************
\r
15 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
\r
17 <UsingTask TaskName="ValidateParameter" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/>
\r
18 <UsingTask TaskName="KuduDeploy" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/>
\r
22 <_DotNetPublishFiles>
\r
24 </_DotNetPublishFiles>
\r
28 ***********************************************************************************************
\r
29 TARGET : KuduPublish
\r
30 ***********************************************************************************************
\r
33 <KuduPublishDependsOn>
\r
34 $(KuduPublishDependsOn);
\r
35 </KuduPublishDependsOn>
\r
38 <Target Name="KuduPublish" DependsOnTargets="$(KuduPublishDependsOn)">
\r
40 ParameterName="PublishSiteName"
\r
41 ParameterValue="$(PublishSiteName)"/>
\r
44 ParameterName="UserName"
\r
45 ParameterValue="$(UserName)"/>
\r
48 <PublishUrl Condition=" '$(PublishUrl)'=='' ">https://{0}.scm.azurewebsites.net/api/{1}</PublishUrl>
\r
49 <DeployIndividualFiles Condition=" '$(DeployIndividualFiles)' != 'true'">false</DeployIndividualFiles>
\r
53 PublishIntermediateOutputPath="$(PublishIntermediateOutputPath)"
\r
54 PublishUrl = "$(PublishUrl)"
\r
55 UserName = "$(UserName)"
\r
56 Password ="$(Password)"
\r
57 PublishSiteName ="$(PublishSiteName)">
\r