Microsoft.Web.Publishing.Deploy.MsDeploy.targets 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--
  2. ***********************************************************************************************
  3. Microsoft.Web.Publishing.Deploy.MSDeploy.targets
  4. WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
  5. created a backup copy. Incorrect changes to this file will make it
  6. impossible to load or build your web deploy projects from the command-line or the IDE.
  7. This file defines the steps in the standard package/publish process for Deploy
  8. Currently
  9. Copyright (C) Microsoft Corporation. All rights reserved.
  10. ***********************************************************************************************
  11. -->
  12. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  13. <!--Import task from our dll-->
  14. <UsingTask TaskName="GetPublishingLocalizedString" AssemblyFile="..\Microsoft.Web.Publishing.Tasks.dll"/>
  15. <!--ImportBefore Extension-->
  16. <PropertyGroup>
  17. <ImportByWildcardBeforeMicrosoftWebPublishingDeployMSDeployTargets Condition="'$(ImportByWildcardBeforeMicrosoftWebPublishingDeployMSDeployTargets)'==''">true</ImportByWildcardBeforeMicrosoftWebPublishingDeployMSDeployTargets>
  18. </PropertyGroup>
  19. <Import Project="$(MSBuildThisFileDirectory)\$(MSBuildThisFileName)\ImportBefore\*" Condition="'$(ImportByWildcardBeforeMicrosoftWebPublishingDeployMSDeployTargets)' == 'true' and exists('$(MSBuildThisFileDirectory)\$(MSBuildThisFileName)\ImportBefore')"/>
  20. <!--This only support new /t:WebPublish with the 'WebPublishMethod'=='MSDeploy'-->
  21. <PropertyGroup>
  22. <Microsoft_Web_Publishing_MSDeploy_Common_targets Condition="'$(Microsoft_Web_Publishing_MSDeploy_Common_targets)' == ''">Microsoft.Web.Publishing.MSDeploy.Common.targets</Microsoft_Web_Publishing_MSDeploy_Common_targets>
  23. </PropertyGroup>
  24. <Import Project="$(Microsoft_Web_Publishing_MSDeploy_Common_targets)" Condition="'$(Microsoft_Web_Publishing_MSDeploy_Common_targets_Imported)' != 'true' And Exists($(Microsoft_Web_Publishing_MSDeploy_Common_targets))"/>
  25. <PropertyGroup>
  26. <Microsoft_Web_Publishing_Deploy_MSDeploy_targets_Imported>True</Microsoft_Web_Publishing_Deploy_MSDeploy_targets_Imported>
  27. <PipelineDeployPhaseDependsOn>
  28. $(PipelineDeployPhaseDependsOn);
  29. PipelineMsdeploySpecificTransformPhase;
  30. </PipelineDeployPhaseDependsOn>
  31. </PropertyGroup>
  32. <!--ImportAfter Extension-->
  33. <PropertyGroup>
  34. <ImportByWildcardAfterMicrosoftWebPublishingDeployMSDeployTargets Condition="'$(ImportByWildcardAfterMicrosoftWebPublishingDeployMSDeployTargets)'==''">true</ImportByWildcardAfterMicrosoftWebPublishingDeployMSDeployTargets>
  35. </PropertyGroup>
  36. <Import Project="$(MSBuildThisFileDirectory)\$(MSBuildThisFileName)\ImportAfter\*" Condition="'$(ImportByWildcardAfterMicrosoftWebPublishingDeployMSDeployTargets)' == 'true' and exists('$(MSBuildThisFileDirectory)\$(MSBuildThisFileName)\ImportAfter')"/>
  37. </Project>