diff options
author | Konstantin Baladurin <k.baladurin@samsung.com> | 2019-09-23 21:46:25 +0300 |
---|---|---|
committer | Konstantin Baladurin <k.baladurin@samsung.com> | 2019-09-24 10:25:20 +0300 |
commit | 3414b4c6548d1d1b33b75bcfbbebe65677b57f2d (patch) | |
tree | 27d145386816df7ea410b9a9309253f884c51c17 /.dotnet/sdk/3.0.100-preview6-012264/Sdks/Microsoft.NET.Sdk.Publish/targets/ComputeTargets/Microsoft.NET.Sdk.Publish.ComputeFiles.targets | |
parent | b13c1e439283ef74fcba3f0be43a6baab5a4f399 (diff) | |
download | coreclr-3414b4c6548d1d1b33b75bcfbbebe65677b57f2d.tar.gz coreclr-3414b4c6548d1d1b33b75bcfbbebe65677b57f2d.tar.bz2 coreclr-3414b4c6548d1d1b33b75bcfbbebe65677b57f2d.zip |
[Tizen] Add BuildTools v3.0.0
Diffstat (limited to '.dotnet/sdk/3.0.100-preview6-012264/Sdks/Microsoft.NET.Sdk.Publish/targets/ComputeTargets/Microsoft.NET.Sdk.Publish.ComputeFiles.targets')
-rw-r--r-- | .dotnet/sdk/3.0.100-preview6-012264/Sdks/Microsoft.NET.Sdk.Publish/targets/ComputeTargets/Microsoft.NET.Sdk.Publish.ComputeFiles.targets | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/.dotnet/sdk/3.0.100-preview6-012264/Sdks/Microsoft.NET.Sdk.Publish/targets/ComputeTargets/Microsoft.NET.Sdk.Publish.ComputeFiles.targets b/.dotnet/sdk/3.0.100-preview6-012264/Sdks/Microsoft.NET.Sdk.Publish/targets/ComputeTargets/Microsoft.NET.Sdk.Publish.ComputeFiles.targets new file mode 100644 index 0000000000..7820fd80fc --- /dev/null +++ b/.dotnet/sdk/3.0.100-preview6-012264/Sdks/Microsoft.NET.Sdk.Publish/targets/ComputeTargets/Microsoft.NET.Sdk.Publish.ComputeFiles.targets @@ -0,0 +1,62 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.ComputeFiles.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"> + + <!-- Only the compute target relevant to the project type will be invoked. --> + <PropertyGroup> + <_DotNetPublishComputeFiles> + _DetermineProjectType; + </_DotNetPublishComputeFiles> + </PropertyGroup> + + + <!--***************************************************************--> + <!-- Target _DetermineProjectType --> + <!--***************************************************************--> + + <Target Name="_DetermineProjectType" > + <PropertyGroup> + <_IsAspNetCoreProject Condition="%(ProjectCapability.Identity) == 'AspNetCore'">true</_IsAspNetCoreProject> + <_PublishProjectType Condition="'$(_PublishProjectType)' == '' and '$(_IsAspNetCoreProject)' == 'true' ">AspNetCore</_PublishProjectType> + <_PublishProjectType Condition="'$(_PublishProjectType)' == '' and '$(WebJobName)' != '' and '$(WebJobType)' != ''">WebJob</_PublishProjectType> + <_PublishProjectType Condition="'$(_PublishProjectType)' == '' ">UnKnown</_PublishProjectType> + </PropertyGroup> + </Target> + + <!--********************************************************************--> + <!-- This will ensure that all values have the required metadata --> + <!--********************************************************************--> + <ItemDefinitionGroup> + <DotNetPublishFiles> + <DestinationRelativePath></DestinationRelativePath> + <Exclude>False</Exclude> + </DotNetPublishFiles> + </ItemDefinitionGroup> + + + <!--***************************************************************--> + <!-- Target _IncludePrePublishGeneratedContent --> + <!--***************************************************************--> + + <Target Name="_IncludePrePublishGeneratedContent" BeforeTargets="GetCopyToPublishDirectoryItems" Condition=" '$(EnableDefaultItems)' == 'true' And '$(EnableDefaultContentItems)' == 'true' "> + <ItemGroup> + <!-- First, clean up previously generated content that may have been removed. --> + <ContentWithTargetPath Remove="@(ContentWithTargetPath)" Condition="!Exists('%(Identity)')" /> + <!-- Next, include any newly generated content. --> + <_WebProjectGeneratedContent Include="wwwroot\**" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder);@(_ContentIncludedByDefault)" /> + <ContentWithTargetPath Include="@(_WebProjectGeneratedContent)" TargetPath="%(Identity)" CopyToPublishDirectory="PreserveNewest" /> + </ItemGroup> + </Target> + +</Project> |