Spaces:
Sleeping
Sleeping
File size: 5,001 Bytes
090629c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
<!--
***********************************************************************************************
Microsoft.NET.Sdk.DotNetCLITool.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 collecting only files to run the web appliation.
Copyright (C) Microsoft Corporation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="_InitProjectCapabilityProperties">
<PropertyGroup>
<_IsAspNetCoreProject Condition="%(ProjectCapability.Identity) == 'AspNetCore'">true</_IsAspNetCoreProject>
</PropertyGroup>
</Target>
<!--
***********************************************************************************************
TARGET : DotNet CLI Publish Command : Pre-Publish
***********************************************************************************************
-->
<PropertyGroup>
<_DotNetCLIPrePublishDependsOn>
_InitProjectCapabilityProperties;
_AspNetCoreProjectSystemPrePublish;
</_DotNetCLIPrePublishDependsOn>
</PropertyGroup>
<Target Name ="_DotNetCLIPrePublish"
DependsOnTargets="$(_DotNetCLIPrePublishDependsOn)"
BeforeTargets="PrepareForPublish"
Condition="'$(DeployOnBuild)' != 'true'">
</Target>
<PropertyGroup>
<_AspNetCoreProjectSystemPrePublishDependsOn>
BeforePublish;
$(_DotNetPublishComputeFiles);
</_AspNetCoreProjectSystemPrePublishDependsOn>
</PropertyGroup>
<Target Name="_AspNetCoreProjectSystemPrePublish"
Condition="'$(_IsAspNetCoreProject)' == 'true'"
DependsOnTargets="$(_AspNetCoreProjectSystemPrePublishDependsOn)">
</Target>
<!--
***********************************************************************************************
TARGET : DotNet CLI Publish Command: Post-Publish
***********************************************************************************************
-->
<PropertyGroup>
<_DotNetCLIPostPublishDependsOn>
_InitProjectCapabilityProperties;
_AspNetCoreProjectSystemPostPublish;
_OtherNetProjectPostPublish;
AfterPublish;
</_DotNetCLIPostPublishDependsOn>
</PropertyGroup>
<Target Name ="_DotNetCLIPostPublish"
DependsOnTargets="$(_DotNetCLIPostPublishDependsOn)"
AfterTargets="Publish"
Condition="'$(DeployOnBuild)' != 'true'">
</Target>
<PropertyGroup>
<_AspNetCoreProjectSystemPostPublishDependsOn>
_InitPublishIntermediateOutputPath;
$(_DotNetPublishTransformFiles);
_PublishFiles;
</_AspNetCoreProjectSystemPostPublishDependsOn>
</PropertyGroup>
<Target Name="_AspNetCoreProjectSystemPostPublish"
Condition="'$(_IsAspNetCoreProject)' == 'true'"
DependsOnTargets="$(_AspNetCoreProjectSystemPostPublishDependsOn)">
</Target>
<PropertyGroup>
<!-- These targets are the same as _AspNetCoreProjectSystemPostPublishDependsOn minus the
ASP.NET-specific transforms stuff that's part of $(_DotNetPublishTransformFiles).
_InitPublishIntermediateOutputPath sets up the 'absolute' publish directory,
_PublishFiles is the extensibility point for Publish Profiles -->
<_OtherNetProjectPostPublishDependsOn>
_InitPublishIntermediateOutputPath;
_PublishFiles;
</_OtherNetProjectPostPublishDependsOn>
</PropertyGroup>
<!-- For safety, we're limiting this target to Worker SDK projects only. After 8.0.100 GA we should consider
* opening this up to all project types
* consolidation with the ASP.NET version of this target
* pushing the Publish SDK down to the base .NET SDK. -->
<Target Name="_OtherNetProjectPostPublish"
DependsOnTargets="$(_OtherNetProjectPostPublishDependsOn)"
Condition="'$(UsingMicrosoftNETSdkWorker)' == 'true'">
</Target>
<Target Name="_InitPublishIntermediateOutputPath">
<ConvertToAbsolutePath Paths="$(PublishDir)">
<Output TaskParameter="AbsolutePaths" PropertyName="PublishDirFullPath"/>
</ConvertToAbsolutePath>
<PropertyGroup>
<PublishIntermediateOutputPath>$(PublishDirFullPath)</PublishIntermediateOutputPath>
</PropertyGroup>
</Target>
<PropertyGroup>
<_PublishFilesDependsOn>
$(_DotNetPublishFiles);
</_PublishFilesDependsOn>
</PropertyGroup>
<Target Name="_PublishFiles"
DependsOnTargets="$(_PublishFilesDependsOn)"
Condition="'$(PublishProtocol)' != 'FileSystem' And '$(PublishProtocol)' != ''">
</Target>
</Project>
|