Microsoft.Web.Publishing.Deploy.FPSE.targets 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!--
  2. ***********************************************************************************************
  3. Microsoft.Web.Publishing.Deploy.FPSE.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. <!--Append WebFTPPublish to the supported list.-->
  16. <PropertyGroup>
  17. <_WPPWebPublishMethodSupports>$(_WPPWebPublishMethodSupports);WebFPSEPublish</_WPPWebPublishMethodSupports>
  18. </PropertyGroup>
  19. <!--********************************************************************-->
  20. <!--Target WebFPSEPublish -->
  21. <!--********************************************************************-->
  22. <PropertyGroup>
  23. <WebFPSEPublishDependsOn>
  24. $(OnBeforeWebFPSEPublish);
  25. $(WebFPSEPublishDependsOn);
  26. </WebFPSEPublishDependsOn>
  27. </PropertyGroup>
  28. <Target Name="WebFPSEPublish"
  29. DependsOnTargets="$(WebFPSEPublishDependsOn)"
  30. Condition="'$(WebFPSEPublish)' != 'False'">
  31. <!--This is not yet implemented through the command line for now error it out-->
  32. <GetPublishingLocalizedString
  33. ID="PublishLocalizedString_WebPublishMethodIsNotSupportedInCmdLine"
  34. ArgumentCount="1"
  35. Arguments="$(WebPublishMethod)"
  36. LogType="Error" />
  37. <Error Text ="Target WebFPSEPublish Failed" />
  38. <CallTarget Targets="$(OnAfterWebFPSEPublish)" RunEachTargetSeparately="False" />
  39. </Target>
  40. <!--ImportAfter Extension-->
  41. <PropertyGroup>
  42. <ImportByWildcardAfterMicrosoftWebPublishingDeployFPSETargets Condition="'$(ImportByWildcardAfterMicrosoftWebPublishingDeployFPSETargets)'==''">true</ImportByWildcardAfterMicrosoftWebPublishingDeployFPSETargets>
  43. </PropertyGroup>
  44. <Import Project="$(MSBuildThisFileDirectory)\$(MSBuildThisFileName)\ImportAfter\*" Condition="'$(ImportByWildcardAfterMicrosoftWebPublishingDeployFPSETargets)' == 'true' and exists('$(MSBuildThisFileDirectory)\$(MSBuildThisFileName)\ImportAfter')"/>
  45. </Project>