123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <!--
- ***********************************************************************************************
- Microsoft.Web.Publishing.Deploy.FTP.targets
- WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
- created a backup copy. Incorrect changes to this file will make it
- impossible to load or build your web deploy projects from the command-line or the IDE.
- This file defines the steps in the standard package/publish process for Deploy
- Currently
- Copyright (C) Microsoft Corporation. All rights reserved.
- ***********************************************************************************************
- -->
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <!--Import task from our dll-->
- <UsingTask TaskName="GetPublishingLocalizedString" AssemblyFile="..\Microsoft.Web.Publishing.Tasks.dll"/>
- <!--Append WebFTPPublish to the supported list.-->
- <PropertyGroup>
- <_WPPWebPublishMethodSupports>$(_WPPWebPublishMethodSupports);WebFTPPublish</_WPPWebPublishMethodSupports>
- </PropertyGroup>
- <!--********************************************************************-->
- <!--Target WebFTPPublish -->
- <!--Current this is not supported through the command line, show the error message.-->
- <!--********************************************************************-->
- <PropertyGroup>
- <WebFTPPublishDependsOn>
- $(OnBeforeWebFTPPublish);
- $(WebFTPPublishDependsOn);
- </WebFTPPublishDependsOn>
- </PropertyGroup>
- <Target Name="WebFTPPublish"
- DependsOnTargets="$(WebFTPPublishDependsOn)"
- Condition="'$(WebFTPPublish)' != 'False'">
- <!--This is not yet implemented through the command line for Log the error -->
- <GetPublishingLocalizedString
- ID="PublishLocalizedString_WebPublishMethodIsNotSupportedInCmdLine"
- ArgumentCount="1"
- Arguments="$(WebPublishMethod)"
- LogType="Error" />
- <Error Text ="Target WebFTPPublish Failed" />
- <CallTarget Targets="$(OnAfterWebFTPPublish)" RunEachTargetSeparately="False" />
- </Target>
- <!--ImportAfter Extension-->
- <PropertyGroup>
- <ImportByWildcardAfterMicrosoftWebPublishingDeployFTPTargets Condition="'$(ImportByWildcardAfterMicrosoftWebPublishingDeployFTPTargets)'==''">true</ImportByWildcardAfterMicrosoftWebPublishingDeployFTPTargets>
- </PropertyGroup>
- <Import Project="$(MSBuildThisFileDirectory)\$(MSBuildThisFileName)\ImportAfter\*" Condition="'$(ImportByWildcardAfterMicrosoftWebPublishingDeployFTPTargets)' == 'true' and exists('$(MSBuildThisFileDirectory)\$(MSBuildThisFileName)\ImportAfter')"/>
- </Project>
|