diff options
Diffstat (limited to '.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish')
25 files changed, 1732 insertions, 0 deletions
diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/Sdk/Sdk.props b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/Sdk/Sdk.props new file mode 100644 index 0000000000..865763b67e --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/Sdk/Sdk.props @@ -0,0 +1,17 @@ +<!-- +*********************************************************************************************** +Sdk.props + +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 projects from the command-line or the IDE. + +Copyright (c) .NET Foundation. All rights reserved. +*********************************************************************************************** +--> +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <Import Project="$(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.Publish.props" + Condition="Exists('$(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.Publish.props')" /> + +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/Sdk/Sdk.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/Sdk/Sdk.targets new file mode 100644 index 0000000000..70892ba4c8 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/Sdk/Sdk.targets @@ -0,0 +1,17 @@ +<!-- +*********************************************************************************************** +Sdk.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 projects from the command-line or the IDE. + +Copyright (c) .NET Foundation. All rights reserved. +*********************************************************************************************** +--> +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <Import Project="$(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.Publish.targets" + Condition="Exists('$(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.Publish.targets')" /> + +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/packageIcon.png b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/packageIcon.png Binary files differnew file mode 100644 index 0000000000..a0f1fdbf4d --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/packageIcon.png diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/ComputeTargets/Microsoft.NET.Sdk.Publish.ComputeFiles.targets b/.dotnet/sdk/3.1.100/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.1.100/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> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/CopyTargets/Microsoft.NET.Sdk.Publish.CopyFiles.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/CopyTargets/Microsoft.NET.Sdk.Publish.CopyFiles.targets new file mode 100644 index 0000000000..ce787f1533 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/CopyTargets/Microsoft.NET.Sdk.Publish.CopyFiles.targets @@ -0,0 +1,129 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.CopyFiles.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"> + + <PropertyGroup> + <_DotNetPublishCopyFiles> + _RemoveExcludeFiles; + _DeletePublishIntermediateOutputPath; + _CopyFilesToPublishIntermediateOutputPath; + _CopyAspNetCoreFilesToIntermediateOutputPath; + _CopyWebJobFilesToIntermediateOutputPath; + </_DotNetPublishCopyFiles> + </PropertyGroup> + + + <!--********************************************************************--> + <!-- Target _RemoveExcludeFiles --> + <!--********************************************************************--> + <Target Name="_RemoveExcludeFiles" > + + <ItemGroup> + <DotNetPublishFiles Remove="@(DotNetPublishFiles)" Condition="'%(Exclude)' == 'true'" /> + </ItemGroup> + + </Target> + + <!--********************************************************************--> + <!-- Target _DeletePublishIntermediateOutputPath --> + <!--********************************************************************--> + + <Target Name="_DeletePublishIntermediateOutputPath"> + + <!-- Remove all the files from the temp directory first--> + <ItemGroup> + <_PublishTempFiles Include="$(PublishIntermediateOutputPath)**\*.*" /> + </ItemGroup> + + <Delete Files="@(_PublishTempFiles)" ContinueOnError="true" /> + <RemoveDir Directories="$(PublishIntermediateOutputPath)" ContinueOnError="true" Condition="Exists('$(PublishIntermediateOutputPath)')" /> + <MakeDir Directories="$(PublishIntermediateOutputPath)" Condition="!Exists('$(PublishIntermediateOutputPath)')"/> + + </Target> + + + <!--********************************************************************--> + <!-- Target _CopyAllFilesToPublishIntermediateOutputPath --> + <!--********************************************************************--> + <Target Name="_CopyFilesToPublishIntermediateOutputPath"> + + <Copy + SourceFiles="@(DotNetPublishFiles)" + DestinationFiles="@(DotNetPublishFiles ->'$(PublishIntermediateOutputPath)%(DestinationRelativePath)')" /> + + </Target> + + <!--********************************************************************--> + <!-- Target _CopyAspNetCoreFilesToIntermediateOutputPath --> + <!--********************************************************************--> + <PropertyGroup> + <_CopyAspNetCoreFilesToIntermediateOutputPathDependsOn> + $(_CopyAspNetCoreFilesToIntermediateOutputPathDependsOn); + _PrepareForAspNetCoreProjectSystemPublish; + Publish; + </_CopyAspNetCoreFilesToIntermediateOutputPathDependsOn> + </PropertyGroup> + + <Target Name="_CopyAspNetCoreFilesToIntermediateOutputPath" + Condition="'$(_PublishProjectType)' == 'AspNetCore'" + DependsOnTargets="$(_CopyAspNetCoreFilesToIntermediateOutputPathDependsOn)"> + </Target> + + <!--********************************************************************--> + <!-- Target _PrepareForAspNetCoreProjectSystemPublish --> + <!--********************************************************************--> + <Target Name="_PrepareForAspNetCoreProjectSystemPublish"> + <PropertyGroup> + <PublishDir>$(PublishIntermediateOutputPath)</PublishDir> + <Configuration>$(PublishConfiguration)</Configuration> + </PropertyGroup> + </Target> + + <!--********************************************************************--> + <!-- Target _CopyWebJobFilesToIntermediateOutputPath --> + <!--********************************************************************--> + <PropertyGroup> + <_CopyWebJobFilesToIntermediateOutputPathDependsOn> + $(_CopyWebJobFilesToIntermediateOutputPathDependsOn); + _PrepareForWebJobPublish; + Publish; + </_CopyWebJobFilesToIntermediateOutputPathDependsOn> + </PropertyGroup> + + <Target Name="_CopyWebJobFilesToIntermediateOutputPath" + Condition="'$(_PublishProjectType)' == 'WebJob'" + DependsOnTargets="$(_CopyWebJobFilesToIntermediateOutputPathDependsOn)"> + </Target> + + <!--********************************************************************--> + <!-- Target _PrepareForWebJobPublish --> + <!--********************************************************************--> + <Target Name="_PrepareForWebJobPublish"> + <PropertyGroup> + <PublishDir>$(PublishIntermediateOutputPath)\app_data\Jobs\$(WebJobType)\$(WebJobName)\</PublishDir> + <Configuration>$(PublishConfiguration)</Configuration> + </PropertyGroup> + </Target> + + <!--********************************************************************--> + <!-- This will ensure that all values have the required metadata --> + <!--********************************************************************--> + <ItemDefinitionGroup> + <DotNetPublishFiles> + <DestinationRelativePath></DestinationRelativePath> + <Exclude>False</Exclude> + </DotNetPublishFiles> + </ItemDefinitionGroup> + +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/DotNetCLIToolTargets/Microsoft.NET.Sdk.DotNetCLITool.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/DotNetCLIToolTargets/Microsoft.NET.Sdk.DotNetCLITool.targets new file mode 100644 index 0000000000..e6b278681e --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/DotNetCLIToolTargets/Microsoft.NET.Sdk.DotNetCLITool.targets @@ -0,0 +1,108 @@ +<!-- +*********************************************************************************************** +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; + 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> + + <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> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/Microsoft.NET.Sdk.Publish.props b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/Microsoft.NET.Sdk.Publish.props new file mode 100644 index 0000000000..1218987350 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/Microsoft.NET.Sdk.Publish.props @@ -0,0 +1,14 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.props + +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 projects from the command-line or the IDE. + +Copyright (c) .NET Foundation. All rights reserved. +*********************************************************************************************** +--> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/Microsoft.NET.Sdk.Publish.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/Microsoft.NET.Sdk.Publish.targets new file mode 100644 index 0000000000..53d9f2e6a7 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/Microsoft.NET.Sdk.Publish.targets @@ -0,0 +1,171 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.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 build process to deploy web application projects. + +Copyright (C) Microsoft Corporation. All rights reserved. +*********************************************************************************************** +--> + +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <!-- Properties corresponding to the tasks and targets path--> + + <PropertyGroup> + <!-- We want to force this property to be true, hence not adding a condition check --> + <SupportsDeployOnBuild>true</SupportsDeployOnBuild> + <_PublishTaskFramework Condition=" '$(MSBuildRuntimeType)' == 'Core'">netcoreapp2.1</_PublishTaskFramework> + <_PublishTaskFramework Condition=" '$(_PublishTaskFramework)' == ''">net46</_PublishTaskFramework> + <_PublishTasksDir Condition=" '$(_PublishTasksDir)'=='' ">$(MSBuildThisFileDirectory)..\tools\$(_PublishTaskFramework)\</_PublishTasksDir> + <_PublishTaskAssemblyFullPath Condition=" '$(_PublishTaskAssemblyFullPath)'=='' ">$(_PublishTasksDir)Microsoft.NET.Sdk.Publish.Tasks.dll</_PublishTaskAssemblyFullPath> + <_CopyTargetsDir Condition=" '$(_CopyTargetsDir)' == ''">$(MSBuildThisFileDirectory)CopyTargets\</_CopyTargetsDir> + <_TransformTargetsDir Condition=" '$(_TransformTargetsDir)' == ''">$(MSBuildThisFileDirectory)TransformTargets\</_TransformTargetsDir> + <_ComputeTargetsDir Condition=" '$(_ComputeTargetsDir)'=='' ">$(MSBuildThisFileDirectory)ComputeTargets\</_ComputeTargetsDir> + <_PublishTargetsDir Condition=" '$(_PublishTargetsDir)'=='' ">$(MSBuildThisFileDirectory)PublishTargets\</_PublishTargetsDir> + <_DotNetCLIToolTargetsDir Condition=" '$(_DotNetCLIToolTargetsDir)'=='' ">$(MSBuildThisFileDirectory)DotNetCLIToolTargets\</_DotNetCLIToolTargetsDir> + <_PublishProfilesDir Condition=" '$(_PublishProfilesDir)'=='' ">$(MSBuildThisFileDirectory)PublishProfiles\</_PublishProfilesDir> + + </PropertyGroup> + + <!-- Extension points for BeforePublish and AfterPublish--> + <Target Name="BeforePublish" /> + <Target Name="AfterPublish" /> + + <!-- + *********************************************************************************************** + Import the Default PublishProfile if the profile is not already imported by the .NET SDK + *********************************************************************************************** + --> + <PropertyGroup Condition="'$(PublishProfileImported)' != 'true'"> + <PublishProfile Condition="'$(PublishProfile)' ==''">FileSystem</PublishProfile> + <PublishProfileName Condition="'$(PublishProfileName)' == ''">$([System.IO.Path]::GetFileNameWithoutExtension($(PublishProfile)))</PublishProfileName> + </PropertyGroup> + + <Import Project="$(_PublishProfilesDir)$(PublishProfileName).pubxml" Condition="Exists('$(_PublishProfilesDir)$(PublishProfileName).pubxml') And '$(PublishProfileImported)' != 'true'" /> + + <!-- + *********************************************************************************************** + Set the properties based on PublishProfile properties + *********************************************************************************************** + --> + + <PropertyGroup> + <!-- Properties for identifying the Publish Protocol --> + <PublishProtocol Condition="'$(PublishProtocol)' == ''">$(WebPublishMethod)</PublishProtocol> + <!-- For backward compat --> + <PublishProtocol Condition="'$(PublishProtocol)' == 'Package'">MSDeployPackage</PublishProtocol> + + <!-- For Docker Support --> + <PublishProtocol Condition="'$(DockerPublish)' == 'true'">Docker</PublishProtocol> + + <!-- Properties setting the publish intermediate paths --> + <PublishConfiguration Condition ="'$(PublishConfiguration)' == ''">$(LastUsedBuildConfiguration)</PublishConfiguration> + <PublishConfiguration Condition="'$(PublishConfiguration)' == ''">$(Configuration)</PublishConfiguration> + <_PublishConfigurationPath Condition="'$(_PublishConfigurationPath)' == '' And '$(PublishConfiguration)' != ''">$(PublishConfiguration)\</_PublishConfigurationPath> + + <_TargetFrameworkPath Condition="'$(_TargetFrameworkPath)' == '' And '$(TargetFramework)' != ''">$(TargetFramework)\</_TargetFrameworkPath> + <_RuntimeIdentifierPath Condition="'$(_RuntimeIdentifierPath)' == '' And '$(RuntimeIdentifier)' != '' ">$(RuntimeIdentifier)\</_RuntimeIdentifierPath> + + <BaseIntermediateOutputPath Condition="'$([System.IO.Path]::IsPathRooted($(BaseIntermediateOutputPath)))' == 'False'">$(MSBuildProjectDirectory)\$(BaseIntermediateOutputPath)</BaseIntermediateOutputPath> + <BaseIntermediateOutputPath Condition="!HasTrailingSlash('$(BaseIntermediateOutputPath)')">$(BaseIntermediateOutputPath)\</BaseIntermediateOutputPath> + + <PublishIntermediateTempPath Condition="'$(PublishIntermediateTempPath)' == ''">$([System.IO.Path]::GetFullPath($(BaseIntermediateOutputPath)$(_PublishConfigurationPath)$(_TargetFrameworkPath)$(_RuntimeIdentifierPath)PubTmp\))</PublishIntermediateTempPath> + <PublishIntermediateOutputPath Condition="'$(PublishIntermediateOutputPath)' == ''">$(PublishIntermediateTempPath)Out\</PublishIntermediateOutputPath> + <PublishIntermediateOutputPath Condition="'$(DockerPublish)' == 'true'">obj/Docker/publish/</PublishIntermediateOutputPath> + + <EFSQLScriptsFolderName Condition="$(EFSQLScriptsFolderName) == ''">EFSQLScripts</EFSQLScriptsFolderName> + </PropertyGroup> + + <!-- + *********************************************************************************************** + Import the Compute target + *********************************************************************************************** + --> + + <Import Project="$(_ComputeTargetsDir)Microsoft.NET.Sdk.Publish.ComputeFiles.targets" Condition="Exists('$(_ComputeTargetsDir)Microsoft.NET.Sdk.Publish.ComputeFiles.targets')" /> + + <!-- + *********************************************************************************************** + Import the Copy target + *********************************************************************************************** + --> + + <Import Project="$(_CopyTargetsDir)Microsoft.NET.Sdk.Publish.CopyFiles.targets" Condition="Exists('$(_CopyTargetsDir)Microsoft.NET.Sdk.Publish.CopyFiles.targets')"/> + + + <!-- + *********************************************************************************************** + Import the transform target + *********************************************************************************************** + --> + + <Import Project="$(_TransformTargetsDir)Microsoft.NET.Sdk.Publish.TransformFiles.targets" Condition="Exists('$(_TransformTargetsDir)Microsoft.NET.Sdk.Publish.TransformFiles.targets')"/> + + <!-- + *********************************************************************************************** + Import the Protocol target + *********************************************************************************************** + --> + + <Import Project="$(_PublishTargetsDir)Microsoft.NET.Sdk.Publish.$(PublishProtocol).targets" Condition="Exists('$(_PublishTargetsDir)Microsoft.NET.Sdk.Publish.$(PublishProtocol).targets')"/> + + <!-- + *********************************************************************************************** + Import the DotNetCLITool target + *********************************************************************************************** + --> + + <Import Project="$(_DotNetCLIToolTargetsDir)Microsoft.NET.Sdk.DotNetCLITool.targets" Condition="Exists('$(_DotNetCLIToolTargetsDir)Microsoft.NET.Sdk.DotNetCLITool.targets')"/> + + <!-- + *********************************************************************************************** + TARGET : DotNetPublish + *********************************************************************************************** + --> + + <PropertyGroup> + <DotNetPublishDependsOn> + BeforePublish; + CorePublish; + AfterPublish; + </DotNetPublishDependsOn> + </PropertyGroup> + + <Target Name="DotNetPublish" + DependsOnTargets="$(DotNetPublishDependsOn)" + AfterTargets="Build" + Condition=" '$(DeployOnBuild)' == 'true' " > + </Target> + + + <PropertyGroup> + <CorePublishDependsOn> + $(_DotNetPublishComputeFiles); + $(_DotNetPublishCopyFiles); + $(_DotNetPublishTransformFiles); + $(_DotNetPublishFiles); + </CorePublishDependsOn> + </PropertyGroup> + + <!-- + *********************************************************************************************** + NOTE: We have to add WebPublishProfileFile to GlobalPropertiesToRemove to prevent it to flow to + other web apps that are referenced by current web app. If we don't do that, their output paths + will be messed up with RuntimeIdentifier we pass in pubxml file. + *********************************************************************************************** + --> + <ItemDefinitionGroup> + <ProjectReference> + <GlobalPropertiesToRemove>%(GlobalPropertiesToRemove);WebPublishProfileFile</GlobalPropertiesToRemove> + </ProjectReference> + </ItemDefinitionGroup> + + <Target Name="CorePublish" + DependsOnTargets="$(CorePublishDependsOn)"/> + +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishProfiles/FileSystem.pubxml b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishProfiles/FileSystem.pubxml new file mode 100644 index 0000000000..33a1257ccd --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishProfiles/FileSystem.pubxml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +This file is used by the publish/package process of your Web project. You can customize the behavior of this process +by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121. +--> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <WebPublishMethod>FileSystem</WebPublishMethod> + <publishUrl>$(OutputPath)Publish\</publishUrl> + <DeleteExistingFiles>False</DeleteExistingFiles> + </PropertyGroup> +</Project>
\ No newline at end of file diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishProfiles/MSDeploy.pubxml b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishProfiles/MSDeploy.pubxml new file mode 100644 index 0000000000..815354d661 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishProfiles/MSDeploy.pubxml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <WebPublishMethod>MSDeploy</WebPublishMethod> + <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> + <LastUsedPlatform>Any CPU</LastUsedPlatform> + <SkipExtraFilesOnServer>True</SkipExtraFilesOnServer> + <MSDeployPublishMethod>WMSVC</MSDeployPublishMethod> + <EnableMSDeployBackup>True</EnableMSDeployBackup> + </PropertyGroup> +</Project>
\ No newline at end of file diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishProfiles/MSDeployPackage.pubxml b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishProfiles/MSDeployPackage.pubxml new file mode 100644 index 0000000000..8f25465d90 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishProfiles/MSDeployPackage.pubxml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <WebPublishMethod>Package</WebPublishMethod> + <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> + <LastUsedPlatform>Any CPU</LastUsedPlatform> + <DesktopBuildPackageLocation>$(OutputPath)Publish\MSDeployPackage.zip</DesktopBuildPackageLocation> + <DeployIisAppPath>Default Web Site</DeployIisAppPath> + </PropertyGroup> +</Project>
\ No newline at end of file diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.Docker.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.Docker.targets new file mode 100644 index 0000000000..156e7800da --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.Docker.targets @@ -0,0 +1,52 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.Docker.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 build process to deploy web application projects. + +Copyright (C) Microsoft Corporation. All rights reserved. +*********************************************************************************************** +--> + +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <PropertyGroup> + <_DotNetPublishFiles> + DockerPublish; + </_DotNetPublishFiles> + </PropertyGroup> + + <!-- + *********************************************************************************************** + TARGET : DockerPublish + *********************************************************************************************** + --> + <PropertyGroup> + <DockerPublishDependsOn> + $(DockerPublishDependsOn); + _InitDockerComposeBuildSource; + DockerComposeBuild; + </DockerPublishDependsOn> + </PropertyGroup> + + <Target Name="DockerPublish" + DependsOnTargets="$(DockerPublishDependsOn)" /> + + <!-- + *********************************************************************************************** + TARGET : _InitDockerComposeBuildSource + *********************************************************************************************** + --> + + <Target Name="_InitDockerComposeBuildSource"> + <PropertyGroup> + <DockerComposeBuildSource>$(PublishIntermediateOutputPath)</DockerComposeBuildSource> + </PropertyGroup> + + </Target> + +</Project>
\ No newline at end of file diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.FileSystem.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.FileSystem.targets new file mode 100644 index 0000000000..7687bf02a6 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.FileSystem.targets @@ -0,0 +1,101 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.FileSystem.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 build process to deploy web application projects. + +Copyright (C) Microsoft Corporation. All rights reserved. +*********************************************************************************************** +--> + +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <PropertyGroup> + <_DotNetPublishFiles> + FileSystemPublish; + </_DotNetPublishFiles> + </PropertyGroup> + + <!-- + *********************************************************************************************** + TARGET : FileSystemPublish + *********************************************************************************************** + --> + <PropertyGroup> + <FileSystemPublishDependsOn> + $(FileSystemPublishDependsOn); + _DeleteDestinationFilesIfSpecified; + _CopyEntityFrameworkScripts; + _GatherFilesFromPublishIntermediateOutputPath; + </FileSystemPublishDependsOn> + </PropertyGroup> + + <Target Name="FileSystemPublish" + DependsOnTargets="$(FileSystemPublishDependsOn)" + Inputs="@(_PublishIntermediateOutputPathFiles)" + Outputs="@(_PublishIntermediateOutputPathFiles ->'$(PublishUrl)%(RecursiveDir)%(Filename)%(Extension)')"> + + <Copy + SourceFiles="@(_PublishIntermediateOutputPathFiles)" + DestinationFiles="@(_PublishIntermediateOutputPathFiles ->'$(PublishUrl)%(RecursiveDir)%(Filename)%(Extension)')" /> + + </Target> + + <!-- + *********************************************************************************************** + TARGET : _DeleteDestinationFilesIfSpecified + *********************************************************************************************** + --> + + <Target Name="_DeleteDestinationFilesIfSpecified"> + <PropertyGroup> + <PublishUrl Condition="'$(PublishUrl)' != '' And !HasTrailingSlash('$(PublishUrl)')">$(PublishUrl)\</PublishUrl> + </PropertyGroup> + + <ItemGroup> + <_DestinationFiles Include="$(PublishUrl)**\*" /> + </ItemGroup> + + <Delete + Files="@(_DestinationFiles)" + Condition="'$(DeleteExistingFiles)' == 'true'" /> + + <RemoveDir + Directories="$(PublishUrl)" + Condition="'$(DeleteExistingFiles)' == 'true' And Exists('$(PublishUrl)')" /> + + <MakeDir + Directories="$(PublishUrl)" + Condition="'$(DeleteExistingFiles)' == 'true' And !Exists('$(PublishUrl)')"/> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _GatherFilesFromPublishIntermediateOutputPath + *********************************************************************************************** + --> + <Target Name="_GatherFilesFromPublishIntermediateOutputPath"> + <ItemGroup> + <_PublishIntermediateOutputPathFiles Include="$(PublishIntermediateOutputPath)**\*.*" /> + </ItemGroup> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _CopyEntityFrameworkScripts + *********************************************************************************************** + --> + <Target Name="_CopyEntityFrameworkScripts"> + + <Copy + Condition="@(_EFSQLScripts) != ''" + SourceFiles="@(_EFSQLScripts)" + DestinationFiles="@(_EFSQLScripts ->'$(PublishIntermediateOutputPath)$(EFSQLScriptsFolderName)\%(Filename)%(Extension)')" + ContinueOnError="true"/> + </Target> + +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.Kudu.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.Kudu.targets new file mode 100644 index 0000000000..afdb76aee4 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.Kudu.targets @@ -0,0 +1,60 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.Kudu.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 build process to deploy web application projects. + +Copyright (C) Microsoft Corporation. All rights reserved. +*********************************************************************************************** +--> + +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <UsingTask TaskName="ValidateParameter" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="KuduDeploy" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + + + <PropertyGroup> + <_DotNetPublishFiles> + KuduPublish; + </_DotNetPublishFiles> + </PropertyGroup> + + <!-- + *********************************************************************************************** + TARGET : KuduPublish + *********************************************************************************************** + --> + <PropertyGroup> + <KuduPublishDependsOn> + $(KuduPublishDependsOn); + </KuduPublishDependsOn> + </PropertyGroup> + + <Target Name="KuduPublish" DependsOnTargets="$(KuduPublishDependsOn)"> + <ValidateParameter + ParameterName="PublishSiteName" + ParameterValue="$(PublishSiteName)"/> + + <ValidateParameter + ParameterName="UserName" + ParameterValue="$(UserName)"/> + + <PropertyGroup> + <PublishUrl Condition=" '$(PublishUrl)'=='' ">https://{0}.scm.azurewebsites.net/api/{1}</PublishUrl> + <DeployIndividualFiles Condition=" '$(DeployIndividualFiles)' != 'true'">false</DeployIndividualFiles> + </PropertyGroup> + + <KuduDeploy + PublishIntermediateOutputPath="$(PublishIntermediateOutputPath)" + PublishUrl = "$(PublishUrl)" + UserName = "$(UserName)" + Password ="$(Password)" + PublishSiteName ="$(PublishSiteName)"> + </KuduDeploy> + </Target> +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets new file mode 100644 index 0000000000..b8eaa025e3 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets @@ -0,0 +1,375 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.MSDeploy.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 build process to deploy web application projects. + +Copyright (C) Microsoft Corporation. All rights reserved. +*********************************************************************************************** +--> + +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <!-- + *********************************************************************************************** + Including the tasks + *********************************************************************************************** + --> + <UsingTask TaskName="MSDeploy" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="VSMSDeploy" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="NormalizeServiceUrl" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="ValidateParameter" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="CreateManifestFile" AssemblyFile="$(_PublishTaskAssemblyFullPath)" /> + <UsingTask TaskName="ImportParameterFile" AssemblyFile="$(_PublishTaskAssemblyFullPath)" /> + <UsingTask TaskName="CreateParameterFile" AssemblyFile="$(_PublishTaskAssemblyFullPath)" /> + <UsingTask TaskName="GetPassword" AssemblyFile="$(_PublishTaskAssemblyFullPath)" /> + + <PropertyGroup> + <_DotNetPublishFiles> + MSDeployPublish; + </_DotNetPublishFiles> + </PropertyGroup> + + <!-- + *********************************************************************************************** + TARGET : MSDeployPublish + *********************************************************************************************** + --> + <PropertyGroup> + <MSDeployPublishDependsOn> + $(MSDeployPublishDependsOn); + _PrepareForMsDeployPublish; + _CreateManifestFiles; + _CreateParameterFiles; + </MSDeployPublishDependsOn> + </PropertyGroup> + + <Target Name="MSDeployPublish" DependsOnTargets="$(MSDeployPublishDependsOn)"> + <ValidateParameter + ParameterName="MsDeployServiceUrl" + ParameterValue="$(MsDeployServiceUrl)"/> + + <ValidateParameter + ParameterName="DeployIisAppPath" + ParameterValue="$(DeployIisAppPath)"/> + + <PropertyGroup> + <MSDeployPublishSourceType>manifest</MSDeployPublishSourceType> + <MSDeployPublishSourceRoot>$(_MsDeploySourceManifestPath)</MSDeployPublishSourceRoot> + <!--Destination is alway a manifest--> + <MSDeployPublishDestinationType>auto</MSDeployPublishDestinationType> + <MSDeployPublishDestinationRoot></MSDeployPublishDestinationRoot> + <PublishEnableLinks Condition="'$(PublishEnableLinks)' == ''"></PublishEnableLinks> + <PublishDisableLinks Condition="'$(PublishDisableLinks)' == ''">AppPoolExtension;ContentExtension;CertificateExtension</PublishDisableLinks> + <RetryAttemptsForDeployment Condition=" '$(RetryAttemptsForDeployment)' == '' ">10</RetryAttemptsForDeployment> + <RetryIntervalForDeployment Condition=" '$(RetryIntervalForDeployment)' == '' ">2000</RetryIntervalForDeployment> + <MSDeployUseChecksum Condition=" '$(MSDeployUseChecksum)' == '' ">false</MSDeployUseChecksum> + <AllowUntrustedCertificate Condition=" '$(AllowUntrustedCertificate)' == '' ">false</AllowUntrustedCertificate> + <EnableOptimisticParameterDefaultValue Condition="$(EnableOptimisticParameterDefaultValue) == ''">true</EnableOptimisticParameterDefaultValue> + <!-- Forcing File preview to be a boolean value --> + <FilePreview Condition="'$(FilePreview)' != 'true'">false</FilePreview> + <NormalizePublishSettings Condition="'$(NormalizePublishSettings)'==''">true</NormalizePublishSettings> + <AuthType Condition="'$(AuthType)'==''" >Basic</AuthType> + <!-- Supported value for $(MSDeployPublishMethod): WMSVC, RemoteAgent, InProc --> + <MSDeployPublishMethod Condition="'$(MSDeployPublishMethod)'==''" >WMSVC</MSDeployPublishMethod> + <!-- AppOffline support is enabled by default for WMSVC--> + <EnableMSDeployAppOffline Condition="'$(EnableMSDeployAppOffline)' == '' And '$(MSDeployPublishMethod)' == 'WMSVC' ">true</EnableMSDeployAppOffline> + <_UseWMSVC>false</_UseWMSVC> + <_UseWMSVC Condition="'$(MSDeployPublishMethod)'=='WMSVC'">true</_UseWMSVC> + <_UseRemoteAgent>false</_UseRemoteAgent> + <_UseRemoteAgent Condition="'$(MSDeployPublishMethod)'=='RemoteAgent'">true</_UseRemoteAgent> + + <!-- UserAgent string sent to msdeploy --> + <_MSDeployUserAgentSource>CmdLine</_MSDeployUserAgentSource> + <_MSDeployUserAgent>VS$(_MSDeployUserAgentSource)</_MSDeployUserAgent> + <!-- MsDeploy Api is not supported for core yet --> + <UseMsDeployExe Condition="'$(UseMsDeployExe)' == '' And '$(MSBuildRuntimeType)' == 'Core'">true</UseMsDeployExe> + </PropertyGroup> + + <CreateProperty Value="NTLM" Condition="!$(_UseWMSVC) And $(NormalizePublishSettings)"> + <Output TaskParameter="Value" PropertyName="AuthType"/> + </CreateProperty> + + <!-- Normalize service url such as convert a server name to format like https://<server>:8172/msdeploy.axd--> + <NormalizeServiceUrl + ServiceUrl="$(MsDeployServiceUrl)" + UseWMSVC="$(_UseWMSVC)" + UseRemoteAgent="$(_UseRemoteAgent)" + SiteName="$(DeployIisAppPath)" + Condition="$(NormalizePublishSettings) == 'true'" > + <Output TaskParameter="ResultUrl" PropertyName="MsDeployServiceUrl" /> + </NormalizeServiceUrl> + + <GetPassword + EncryptedPassword ="$(EncryptedPassword)" + Condition="'$(Password)' == '' And '$(IsGetPasswordEnabled)' == 'true'"> + <Output TaskParameter="ClearPassword" PropertyName="Password"/> + </GetPassword> + + <!-- Data Passed to MSDeploy --> + <ItemGroup> + <MsDeploySourceProviderSetting Remove="@(MsDeploySourceProviderSetting)" /> + <MsDeploySourceProviderSetting Include="$(MSDeployPublishSourceType)"> + <Path>$(MSDeployPublishSourceRoot)</Path> + </MsDeploySourceProviderSetting> + + <MsDeployDestinationProviderSetting Remove="@(MsDeployDestinationProviderSetting)" /> + <MsDeployDestinationProviderSetting Include="$(MSDeployPublishDestinationType)"> + <Path>$(MSDeployPublishDestinationRoot)</Path> + <ComputerName>$(MsDeployServiceUrl)</ComputerName> + <UserName>$(UserName)</UserName> + <Password>$(Password)</Password> + <EncryptPassword>$(DeployEncryptKey)</EncryptPassword> + <IncludeAcls>False</IncludeAcls> + <AuthType>$(AuthType)</AuthType> + </MsDeployDestinationProviderSetting> + </ItemGroup> + + <!-- Additional destination provider settings --> + <ItemGroup> + <MsDeployAdditionalDestinationProviderSettings Include="$(MSDeployEncryptProviderName)"> + <Name>WebConfigEncryptProvider</Name> + <Value>$(MSDeployWebConfigEncryptProvider)</Value> + </MsDeployAdditionalDestinationProviderSettings> + </ItemGroup> + + <VSMSDeploy + Condition="'$(UseMsdeployExe)' != 'true'" + Source="@(MsDeploySourceProviderSetting)" + Destination="@(MsDeployDestinationProviderSetting)" + DisableLink="$(PublishDisableLinks)" + EnableLink="$(PublishEnableLinks)" + AllowUntrustedCertificate="$(AllowUntrustedCertificate)" + SkipExtraFilesOnServer="$(SkipExtraFilesOnServer)" + SkipRuleItems="@(MsDeploySkipRules)" + ImportSetParametersItems="$(_MSDeployParametersFilePath)" + WhatIf="$(FilePreview)" + RetryAttempts="$(RetryAttemptsForDeployment)" + RetryInterval="$(RetryIntervalForDeployment)" + EnableMSDeployBackup="$(EnableMSDeployBackup)" + EnableMSDeployAppOffline="$(EnableMSDeployAppOffline)" + AdditionalDestinationProviderOptions="@(MsDeployAdditionalDestinationProviderSettings)" + UseChecksum="$(MSDeployUseChecksum)" + UserAgent="$(_MSDeployUserAgent)"> + <Output TaskParameter="Result" PropertyName="_PublishResult" /> + </VSMSDeploy> + + <ItemGroup> + <_EnableRuleListItems Condition="'$(SkipExtraFilesOnServer)' == 'true'" Include="DoNotDeleteRule" /> + <_EnableRuleListItems Condition="'$(EnableMSDeployAppOffline)' == 'true'" Include="AppOffline" /> + <_EnableRuleListItems Condition="'$(MSDeployEnableWebConfigEncryptRule)' == 'true'" Include="EncryptWebConfig" /> + </ItemGroup> + + <PropertyGroup> + <_EnableRuleList>@(_EnableRuleListItems)</_EnableRuleList> + </PropertyGroup> + + <MSdeploy + Condition="'$(UseMsdeployExe)' == 'true'" + Verb="sync" + WhatIf="$(FilePreview)" + Source="@(MsDeploySourceProviderSetting)" + Destination="@(MsDeployDestinationProviderSetting)" + DisableLink="$(PublishDisableLinks)" + EnableLink="$(PublishEnableLinks)" + EnableRule="$(_EnableRuleList)" + AllowUntrusted="$(AllowUntrustedCertificate)" + SkipRuleItems="@(MsDeploySkipRules)" + ImportSetParametersItems="$(_MSDeployParametersFilePath)" + RetryAttempts="$(RetryAttemptsForDeployment)" + RetryInterval="$(RetryIntervalForDeployment)" + AdditionalDestinationProviderOptions="@(MsDeployAdditionalDestinationProviderSettings)" + UseChecksum="$(MSDeployUseChecksum)" + UserAgent="$(_MSDeployUserAgent)" + ExePath="$(MSDeployPath)" /> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _PrepareForMsDeployPublish + *********************************************************************************************** + --> + + <Target Name="_PrepareForMsDeployPublish"> + + <PropertyGroup> + <_MsDeploySourceManifestPath Condition="'$(_MsDeploySourceManifestPath)' == ''">$(PublishIntermediateTempPath)$(MSBuildProjectName).SourceManifest.xml</_MsDeploySourceManifestPath> + <_MSDeployParametersFilePath Condition="'$(_MSDeployParametersFilePath)' == ''">$(PublishIntermediateTempPath)$(MSBuildProjectName).Parameters.xml</_MSDeployParametersFilePath> + </PropertyGroup> + + <ItemGroup> + <_PublishConfigFiles Include="$(_MsDeploySourceManifestPath);$(_MSDeployParametersFilePath)" /> + </ItemGroup> + + <MakeDir Directories="$(PublishIntermediateTempPath)" Condition="!Exists('$(PublishIntermediateTempPath)')" ContinueOnError="true"/> + <Delete Files="@(_PublishConfigFiles)" ContinueOnError="true" /> + <Touch AlwaysCreate="true" Files="@(_PublishConfigFiles)" ContinueOnError="true" /> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _CreateManifestFiles + *********************************************************************************************** + --> + + <Target Name="_CreateManifestFiles"> + + <ItemGroup> + <MsDeploySourceManifest Remove="@(MsDeploySourceManifest)" /> + + <MsDeploySourceManifest Include="IisApp" > + <Path>$(PublishIntermediateOutputPath)</Path> + </MsDeploySourceManifest> + </ItemGroup> + + <ItemGroup Condition="'@(_EFSQLScripts)' != ''"> + <MsDeploySourceManifest Include="dbfullsql" > + <Path>%(_EFSQLScripts.Identity)</Path> + </MsDeploySourceManifest> + </ItemGroup> + + <CreateManifestFile + Manifests="@(MsDeploySourceManifest)" + ManifestFile="$(_MsDeploySourceManifestPath)" /> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _CreateParameterFiles + *********************************************************************************************** + --> + + <Target Name="_CreateParameterFiles"> + + <ItemGroup> + <MsDeployDeclareParameters Remove="@(MsDeployDeclareParameters)" /> + + <MsDeployDeclareParameters Include="IIS Web Application Name" > + <Kind>ProviderPath</Kind> + <Scope>IisApp</Scope> + <Match>$(PublishIntermediateOutputPath)</Match> + <Description></Description> + <DefaultValue>$(DeployIisAppPath)</DefaultValue> + <Value>$(DeployIisAppPath)</Value> + <Tags>IisApp</Tags> + <Priority></Priority> + <ExcludeFromSetParameter>false</ExcludeFromSetParameter> + </MsDeployDeclareParameters> + </ItemGroup> + + <ItemGroup Condition="'@(_EFSQLScripts)' != ''"> + <MsDeployDeclareParameters Include="%(_EFSQLScripts.DBContext)"> + <Kind>ProviderPath</Kind> + <Scope>dbfullsql</Scope> + <Match>%(_EFSQLScripts.Identity)</Match> + <Description></Description> + <DefaultValue>%(_EFSQLScripts.ConnectionString)</DefaultValue> + <Value>%(_EFSQLScripts.ConnectionString)</Value> + <Tags>dbfullsql</Tags> + <Priority></Priority> + <ExcludeFromSetParameter>false</ExcludeFromSetParameter> + </MsDeployDeclareParameters> + </ItemGroup> + + <ItemGroup> + <ParametersXMLFiles Include="$(MSBuildProjectDirectory)\Parameters.xml" + Condition="Exists('$(MSBuildProjectDirectory)\Parameters.xml')"/> + </ItemGroup> + + <ImportParameterFile Condition="'@(ParametersXMLFiles)' != ''" + Files="@(ParametersXMLFiles)"> + <Output TaskParameter="Result" + ItemName="_ImportedMSDeployDeclareParameters" /> + </ImportParameterFile> + + <ItemGroup> + <MsDeployDeclareParameters Include="@(_ImportedMSDeployDeclareParameters)" + Condition="'%(_ImportedMSDeployDeclareParameters.Identity)' !=''"> + <Value>%(_ImportedMSDeployDeclareParameters.DefaultValue)</Value> + <Priority></Priority> + </MsDeployDeclareParameters> + </ItemGroup> + + <CreateParameterFile + Parameters="@(MsDeployDeclareParameters)" + DeclareSetParameterFile="$(_MSDeployParametersFilePath)" + IncludeDefaultValue="True" + GenerateFileEvenIfEmpty="True" /> + + </Target> + + <!-- + *********************************************************************************************** + Item Definitions + *********************************************************************************************** + --> + + <ItemDefinitionGroup> + <MsDeploySourceProviderSetting> + <Path></Path> + <ComputerName></ComputerName> + <!--<Wmsvc></Wmsvc> Not supported yet--> + <UserName></UserName> + <Password></Password> + <EncryptPassword></EncryptPassword> + <IncludeAcls></IncludeAcls> + <authType></authType> + <prefetchPayload></prefetchPayload> + </MsDeploySourceProviderSetting> + </ItemDefinitionGroup> + + <ItemDefinitionGroup> + <MsDeployDestinationProviderSetting> + <Path></Path> + <ComputerName></ComputerName> + <!--<Wmsvc></Wmsvc> Not supported yet--> + <UserName></UserName> + <Password></Password> + <EncryptPassword></EncryptPassword> + <IncludeAcls></IncludeAcls> + <authType></authType> + <prefetchPayload></prefetchPayload> + </MsDeployDestinationProviderSetting> + </ItemDefinitionGroup> + + <!-- + DeploymentSkipRule(string skipAction, string objectName, string absolutePath, string XPath);--> + <ItemDefinitionGroup> + <MsDeploySkipRules> + <SkipAction></SkipAction> + <ObjectName></ObjectName> + <AbsolutePath></AbsolutePath> + <XPath></XPath> + <KeyAttribute></KeyAttribute> + <!--Source, Destination, Both(the default)--> + <Apply></Apply> + </MsDeploySkipRules> + </ItemDefinitionGroup> + + <!-- AdditionalProviderSettings denote the additionProviderSetting need to be set in the manifest files--> + <ItemDefinitionGroup> + <MsDeploySourceManifest> + <Path>Unknown</Path> + <AdditionalProviderSettings></AdditionalProviderSettings> + </MsDeploySourceManifest> + </ItemDefinitionGroup> + + <!-- + DeploymentParameter(string name, string type, string scope, string match, string description, string defaultValue); --> + <ItemDefinitionGroup> + <MsDeployDeclareParameters> + <Kind></Kind> + <Scope></Scope> + <Match></Match> + <Description></Description> + <DefaultValue></DefaultValue> + <Tags></Tags> + <ExcludeFromSetParameter></ExcludeFromSetParameter> + </MsDeployDeclareParameters> + </ItemDefinitionGroup> + +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeployPackage.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeployPackage.targets new file mode 100644 index 0000000000..6933414600 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeployPackage.targets @@ -0,0 +1,325 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.MSDeployPackage.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 build process to deploy web application projects. + +Copyright (C) Microsoft Corporation. All rights reserved. +*********************************************************************************************** +--> + +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <!-- + *********************************************************************************************** + Including the tasks + *********************************************************************************************** + --> + <UsingTask TaskName="MSDeploy" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="VSMSDeploy" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="NormalizeServiceUrl" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="ValidateParameter" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="CreateManifestFile" AssemblyFile="$(_PublishTaskAssemblyFullPath)" /> + <UsingTask TaskName="ImportParameterFile" AssemblyFile="$(_PublishTaskAssemblyFullPath)" /> + <UsingTask TaskName="CreateParameterFile" AssemblyFile="$(_PublishTaskAssemblyFullPath)" /> + <UsingTask TaskName="CreateMSDeployScript" AssemblyFile="$(_PublishTaskAssemblyFullPath)" /> + + <PropertyGroup> + <_DotNetPublishFiles> + MSDeployPackagePublish; + </_DotNetPublishFiles> + </PropertyGroup> + + <!-- + *********************************************************************************************** + TARGET : MSDeployPackagePublish + *********************************************************************************************** + --> + <PropertyGroup> + <MSDeployPackagePublishDependsOn> + $(MSDeployPackagePublishDependsOn); + _InitMSDeployPackageProperties; + _PrepareForMsDeployPublish; + _CreateManifestFiles; + _CreateParameterFiles; + _CreateMSDeployScript; + </MSDeployPackagePublishDependsOn> + </PropertyGroup> + + <Target Name="MSDeployPackagePublish" DependsOnTargets="$(MSDeployPackagePublishDependsOn)"> + + <PropertyGroup> + <MSDeployPublishSourceType>manifest</MSDeployPublishSourceType> + <MSDeployPublishSourceRoot>$(_MsDeploySourceManifestPath)</MSDeployPublishSourceRoot> + <!--Destination is alway a manifest--> + <MSDeployPublishDestinationType>Package</MSDeployPublishDestinationType> + <MSDeployPublishDestinationRoot>$(PackageLocation)</MSDeployPublishDestinationRoot> + <RetryAttemptsForDeployment Condition=" '$(RetryAttemptsForDeployment)' == '' ">2</RetryAttemptsForDeployment> + <PublishEnableLinks Condition="'$(PublishEnableLinks)' == ''"></PublishEnableLinks> + <PublishDisableLinks Condition="'$(PublishDisableLinks)' == ''">AppPoolExtension;ContentExtension;CertificateExtension</PublishDisableLinks> + <!-- UserAgent string sent to msdeploy --> + <_MSDeployUserAgentSource>CmdLine</_MSDeployUserAgentSource> + <_MSDeployUserAgent>VS$(_MSDeployUserAgentSource)</_MSDeployUserAgent> + <!-- MsDeploy Api is not supported for core yet --> + <UseMsDeployExe Condition="'$(UseMsDeployExe)' == '' And '$(MSBuildRuntimeType)' == 'Core'">true</UseMsDeployExe> + </PropertyGroup> + + <!-- Data Passed to MSDeploy --> + <ItemGroup> + <MsDeploySourceProviderSetting Remove="@(MsDeploySourceProviderSetting)" /> + <MsDeploySourceProviderSetting Include="$(MSDeployPublishSourceType)"> + <Path>$(MSDeployPublishSourceRoot)</Path> + </MsDeploySourceProviderSetting> + + <MsDeployDestinationProviderSetting Remove="@(MsDeployDestinationProviderSetting)" /> + <MsDeployDestinationProviderSetting Include="$(MSDeployPublishDestinationType)"> + <Path>$(MSDeployPublishDestinationRoot)</Path> + </MsDeployDestinationProviderSetting> + </ItemGroup> + + <VSMSDeploy Condition="'$(UseMsdeployExe)' != 'true'" + MSDeployVersionsToTry="$(_MSDeployVersionsToTry)" + Source="@(MsDeploySourceProviderSetting)" + Destination="@(MsDeployDestinationProviderSetting)" + DeploymentTraceLevel="$(PackageTraceLevel)" + DisableLink="$(PublishDisableLinks)" + EnableLink="$(PublishEnableLinks)" + ImportDeclareParametersItems="$(_MSDeployParametersFilePath)" + ReplaceRuleItems="@(MsDeployReplaceRules)" + RetryAttempts="$(RetryAttemptsForDeployment)"> + <Output TaskParameter="Result" PropertyName="PackageResult" /> + </VSMSDeploy> + + <MSdeploy + Condition="'$(UseMsdeployExe)' == 'true'" + Verb="sync" + Source="@(MsDeploySourceProviderSetting)" + Destination="@(MsDeployDestinationProviderSetting)" + DisableLink="$(PublishDisableLinks)" + EnableLink="$(PublishEnableLinks)" + ImportDeclareParametersItems="$(_MSDeployParametersFilePath)" + ReplaceRuleItems="@(MsDeployReplaceRules)" + RetryAttempts="$(RetryAttemptsForDeployment)" + ExePath="$(MSDeployPath)" + /> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _InitMSDeployPackageProperties + *********************************************************************************************** + --> + + <Target Name="_InitMSDeployPackageProperties"> + + <PropertyGroup> + <DefaultPackageFileName Condition="'$(DefaultPackageFileName)'==''">$(MSBuildProjectName).zip</DefaultPackageFileName> + <PackageLocation Condition="'$(PackageLocation)' == ''">$(DesktopBuildPackageLocation)</PackageLocation> + <PackageLocation Condition="'$(PackageLocation)' == ''">$(OutputPath)</PackageLocation> + <PackageLocation Condition="'$([System.IO.Path]::GetExtension($(PackageLocation)))' == '' And !HasTrailingSlash('$(PackageLocation)')">$(PackageLocation)\</PackageLocation> + <PackageLocation Condition="'$([System.IO.Path]::GetExtension($(PackageLocation)))' == '' ">$(PackageLocation)$(DefaultPackageFileName)</PackageLocation> + <DeployIisAppPath Condition="'$(DeployIisAppPath)' ==''">Default Web Site</DeployIisAppPath> + <EnableOptimisticParameterDefaultValue Condition="'$(EnableOptimisticParameterDefaultValue)'==''">True</EnableOptimisticParameterDefaultValue> + </PropertyGroup> + + <ConvertToAbsolutePath Paths="$(PackageLocation)"> + <Output TaskParameter="AbsolutePaths" PropertyName="PackageLocation"/> + </ConvertToAbsolutePath> + + </Target> + + <!-- + *********************************************************************************************** + TARGET : _PrepareForMsDeployPackagePublish + *********************************************************************************************** + --> + + <Target Name="_PrepareForMsDeployPublish"> + + <PropertyGroup> + <_destinationFolder Condition="'$(_destinationFolder)' == ''">$([System.IO.Path]::GetDirectoryName($(PackageLocation)))\</_destinationFolder> + <_MsDeploySourceManifestPath Condition="'$(_MsDeploySourceManifestPath)' == ''">$(_destinationFolder)$(MSBuildProjectName).SourceManifest.xml</_MsDeploySourceManifestPath> + <_MSDeployParametersFilePath Condition="'$(_MSDeployParametersFilePath)' == ''">$(_destinationFolder)$(MSBuildProjectName).Parameters.xml</_MSDeployParametersFilePath> + <_MSDeploySetParametersFilePath Condition="'$(_MSDeploySetParametersFilePath)' == ''">$(_destinationFolder)$(MSBuildProjectName).SetParameters.xml</_MSDeploySetParametersFilePath> + <_MSDeployScriptFilePath Condition="'$(_MSDeployScriptFilePath)' == ''">$(_destinationFolder)$(MSBuildProjectName).deploy.cmd</_MSDeployScriptFilePath> + <_MSDeployReadMeFilePath Condition="'$(_MSDeployReadMeFilePath)' == ''">$(_destinationFolder)$(MSBuildProjectName).deploy-readme.txt</_MSDeployReadMeFilePath> + </PropertyGroup> + + <ItemGroup> + <_PublishConfigFiles Include="$(_MsDeploySourceManifestPath);$(_MSDeployParametersFilePath);$(_MSDeploySetParametersFilePath);$(_MSDeployScriptFilePath);$(_MSDeployReadMeFilePath)" /> + </ItemGroup> + + <MakeDir Directories="$(_destinationFolder)" Condition="!Exists('$(_destinationFolder)')" ContinueOnError="true"/> + <Delete Files="@(_PublishConfigFiles)" ContinueOnError="true" /> + <Touch AlwaysCreate="true" Files="@(_PublishConfigFiles)" ContinueOnError="true" /> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _CreateManifestFiles + *********************************************************************************************** + --> + + <Target Name="_CreateManifestFiles"> + + <ItemGroup> + <MsDeploySourceManifest Remove="@(MsDeploySourceManifest)" /> + + <MsDeploySourceManifest Include="IisApp" > + <Path>$(PublishIntermediateOutputPath)</Path> + </MsDeploySourceManifest> + </ItemGroup> + + <ItemGroup Condition="'@(_EFSQLScripts)' != ''"> + <MsDeploySourceManifest Include="dbfullsql" > + <Path>%(_EFSQLScripts.Identity)</Path> + </MsDeploySourceManifest> + </ItemGroup> + + <CreateManifestFile + Manifests="@(MsDeploySourceManifest)" + ManifestFile="$(_MsDeploySourceManifestPath)" /> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _CreateMSDeployScript + *********************************************************************************************** + --> + + <Target Name="_CreateMSDeployScript"> + + <CreateMsDeployScript + Condition="'$(IsCreateMSDeployScriptDisabled)' != 'true'" + ProjectName="$(MSBuildProjectName)" + ScriptFullPath="$(_MSDeployScriptFilePath)" + ReadMeFullPath="$(_MSDeployReadMeFilePath)"/> + + </Target> + + <!-- + *********************************************************************************************** + TARGET : _CreateParameterFiles + *********************************************************************************************** + --> + + <Target Name="_CreateParameterFiles"> + + <ItemGroup> + <MsDeployDeclareParameters Remove="@(MsDeployDeclareParameters)" /> + + <MsDeployDeclareParameters Include="IIS Web Application Name" > + <Kind>ProviderPath</Kind> + <Scope>IisApp</Scope> + <Match>$(PublishIntermediateOutputPath)</Match> + <Description></Description> + <DefaultValue>$(DeployIisAppPath)</DefaultValue> + <Value>$(DeployIisAppPath)</Value> + <Tags>IisApp</Tags> + <Priority></Priority> + <ExcludeFromSetParameter>false</ExcludeFromSetParameter> + </MsDeployDeclareParameters> + </ItemGroup> + + <ItemGroup Condition="'@(_EFSQLScripts)' != ''"> + <MsDeployDeclareParameters Include="%(_EFSQLScripts.DBContext)"> + <Kind>ProviderPath</Kind> + <Scope>dbfullsql</Scope> + <Match>%(_EFSQLScripts.Identity)</Match> + <Description></Description> + <DefaultValue>%(_EFSQLScripts.ConnectionString)</DefaultValue> + <Value>%(_EFSQLScripts.ConnectionString)</Value> + <Tags>dbfullsql</Tags> + <Priority></Priority> + <ExcludeFromSetParameter>false</ExcludeFromSetParameter> + </MsDeployDeclareParameters> + </ItemGroup> + + <ItemGroup> + <ParametersXMLFiles Include="$(MSBuildProjectDirectory)\Parameters.xml" + Condition="Exists('$(MSBuildProjectDirectory)\Parameters.xml')"/> + </ItemGroup> + + <ImportParameterFile Condition="'@(ParametersXMLFiles)' != ''" + Files="@(ParametersXMLFiles)"> + <Output TaskParameter="Result" + ItemName="_ImportedMSDeployDeclareParameters" /> + </ImportParameterFile> + + <ItemGroup> + <MsDeployDeclareParameters Include="@(_ImportedMSDeployDeclareParameters)" + Condition="'%(_ImportedMSDeployDeclareParameters.Identity)' !=''"> + <Value>%(_ImportedMSDeployDeclareParameters.DefaultValue)</Value> + <Priority></Priority> + </MsDeployDeclareParameters> + </ItemGroup> + + <CreateParameterFile + Parameters="@(MsDeployDeclareParameters)" + DeclareSetParameterFile="$(_MSDeployParametersFilePath)" + IncludeDefaultValue="True" + OptimisticParameterDefaultValue="$(EnableOptimisticParameterDefaultValue)" + SetParameterFile="$(_MSDeploySetParametersFilePath)" + GenerateFileEvenIfEmpty="True" /> + </Target> + + <!-- + *********************************************************************************************** + Item Definitions + *********************************************************************************************** + --> + + <ItemDefinitionGroup> + <MsDeploySourceProviderSetting> + <Path></Path> + <ComputerName></ComputerName> + <!--<Wmsvc></Wmsvc> Not supported yet--> + <UserName></UserName> + <Password></Password> + <EncryptPassword></EncryptPassword> + <IncludeAcls></IncludeAcls> + <authType></authType> + <prefetchPayload></prefetchPayload> + </MsDeploySourceProviderSetting> + </ItemDefinitionGroup> + + <ItemDefinitionGroup> + <MsDeployDestinationProviderSetting> + <Path></Path> + <ComputerName></ComputerName> + <!--<Wmsvc></Wmsvc> Not supported yet--> + <UserName></UserName> + <Password></Password> + <EncryptPassword></EncryptPassword> + <IncludeAcls></IncludeAcls> + <authType></authType> + <prefetchPayload></prefetchPayload> + </MsDeployDestinationProviderSetting> + </ItemDefinitionGroup> + + <!-- + DeploymentSkipRule(string skipAction, string objectName, string absolutePath, string XPath);--> + <ItemDefinitionGroup> + <MsDeploySkipRules> + <SkipAction></SkipAction> + <ObjectName></ObjectName> + <AbsolutePath></AbsolutePath> + <XPath></XPath> + <KeyAttribute></KeyAttribute> + <!--Source, Destination, Both(the default)--> + <Apply></Apply> + </MsDeploySkipRules> + </ItemDefinitionGroup> + + <!-- AdditionalProviderSettings denote the additionProviderSetting need to be set in the manifest files--> + <ItemDefinitionGroup> + <MsDeploySourceManifest> + <Path>Unknown</Path> + <AdditionalProviderSettings></AdditionalProviderSettings> + </MsDeploySourceManifest> + </ItemDefinitionGroup> +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/TransformTargets/Microsoft.NET.Sdk.Publish.TransformFiles.targets b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/TransformTargets/Microsoft.NET.Sdk.Publish.TransformFiles.targets new file mode 100644 index 0000000000..a6f28e75e9 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/TransformTargets/Microsoft.NET.Sdk.Publish.TransformFiles.targets @@ -0,0 +1,250 @@ +<!-- +*********************************************************************************************** +Microsoft.NET.Sdk.Publish.TransformFiles.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"> + + <UsingTask TaskName="TransformWebConfig" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="TransformAppSettings" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="GenerateEFSQLScripts" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="GenerateRunCommandFile" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="TransformXml" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + <UsingTask TaskName="GenerateEnvTransform" AssemblyFile="$(_PublishTaskAssemblyFullPath)"/> + + <PropertyGroup> + <_DotNetPublishTransformFiles> + _TransformWebConfig; + _TransformXml; + _TransformAppSettings; + _GenerateEFSQLScripts; + _GenerateRunCommandFile; + </_DotNetPublishTransformFiles> + </PropertyGroup> + + <!-- + *********************************************************************************************** + TARGET : _TransformWebConfig + *********************************************************************************************** + --> + <Target Name="_TransformWebConfig"> + + <PropertyGroup> + <_IsAspNetCoreProject Condition=" %(ProjectCapability.Identity) == 'AspNetCore' ">true</_IsAspNetCoreProject> + <_UseAppHost Condition=" '$(_UseAppHost)' == '' ">$(UseAppHost)</_UseAppHost> + <_UseAppHost Condition=" '$(_UseAppHost)' == '' ">$(SelfContained)</_UseAppHost> + <_UseAppHost Condition=" '$(_UseAppHost)' == '' Or '$(RuntimeIdentifier)' == '' ">false</_UseAppHost> + <_ExecutableExtension Condition=" '$(_ExecutableExtension)' == '' And $(RuntimeIdentifier.StartsWith('win')) ">.exe</_ExecutableExtension> + <_TransformWebConfigForAzure Condition=" '$(PublishProvider)' == 'AzureWebSite' Or '$(WEBSITE_SITE_NAME)' != '' Or '$(DOTNET_CONFIGURE_AZURE)' == 'true' Or '$(DOTNET_CONFIGURE_AZURE)' == '1' ">true</_TransformWebConfigForAzure> + </PropertyGroup> + + + <TransformWebConfig + Condition="'$(_IsAspNetCoreProject)' == 'true' And '$(IsTransformWebConfigDisabled)' != 'true' And '$(IsWebConfigTransformDisabled)' != 'true'" + TargetPath="$(TargetPath)" + PublishDir="$(PublishIntermediateOutputPath)" + UseAppHost="$(_UseAppHost)" + ExecutableExtension="$(_ExecutableExtension)" + IsAzure="$(_TransformWebConfigForAzure)" + ProjectGuid="$(ProjectGuid)" + IgnoreProjectGuid="$(IgnoreProjectGuid)" + ProjectFullPath="$(MSBuildProjectFullPath)" + SolutionPath="$(SolutionPath)" + AspNetCoreModuleName="$(AspNetCoreModuleName)" + AspNetCoreHostingModel="$(AspNetCoreHostingModel)" + EnvironmentName="$(EnvironmentName)"/> + </Target> + + + <!-- + *********************************************************************************************** + TARGET : _TransformXml + *********************************************************************************************** + --> + <Target Name="_TransformXml"> + + <PropertyGroup> + <_IsAspNetCoreProject Condition="%(ProjectCapability.Identity) == 'AspNetCore'">true</_IsAspNetCoreProject> + <TransformXmlStackTraceEnabled Condition="'$(TransformXmlStackTraceEnabled)' == ''">true</TransformXmlStackTraceEnabled> + <!-- Forcing the property value to be boolean --> + <TransformXmlStackTraceEnabled Condition="'$(TransformXmlStackTraceEnabled)' != 'true'">false</TransformXmlStackTraceEnabled> + <_WebConfigTransformCompleted Condition="'$(_IsAspNetCoreProject)' == 'true' And '$(IsTransformWebConfigDisabled)' != 'true' And '$(IsWebConfigTransformDisabled)' != 'true'">true</_WebConfigTransformCompleted> + <_WebConfigTransformCompleted Condition="'$(_WebConfigTransformCompleted)' == ''">false</_WebConfigTransformCompleted> + <RunXdt Condition="'$(RunXdt)' == ''">$(_WebConfigTransformCompleted)</RunXdt> + </PropertyGroup> + + <PropertyGroup Condition="'$(WebPublishProfileFile)' !=''"> + <PublishProfileName>$([System.IO.Path]::GetFileNameWithoutExtension($(WebPublishProfileFile)))</PublishProfileName> + <PublishProfileDirectory>$([System.IO.Path]::GetDirectoryName($(WebPublishProfileFile)))</PublishProfileDirectory> + </PropertyGroup> + +<!-- PROJECT LEVEL TRANSFORMS --> + + <!-- Run the Project transforms first i.e $(MSBuildProjectDirectory)\web.<transform>.config --> + <ItemGroup> + <!-- Run the transform at the config level e.g: web.Release.config if the configuration is Release--> + <ProjectTransforms Condition=" '$(Configuration)' != '' " Include="$(MSBuildProjectDirectory)\web.$(Configuration).config" /> + <!-- Run the transform at the profile level e.g: web.FolderProfile.config if the profile name is FolderProfile --> + <ProjectTransforms Condition=" '$(PublishProfileName)' != '' " Include="$(MSBuildProjectDirectory)\web.$(PublishProfileName).config" /> + <!-- Run the transform at the environment level e.g: web.staging.config if the $(EnvironmentName) passed to msbuild is staging--> + <ProjectTransforms Condition=" '$(EnvironmentName)' != '' " Include="$(MSBuildProjectDirectory)\web.$(EnvironmentName).config" /> + </ItemGroup> + + <TransformXml Condition=" '%(ProjectTransforms.Identity)' != '' + And Exists('%(ProjectTransforms.Identity)') + And Exists('$(PublishIntermediateOutputPath)web.config') + And '$(RunXdt)' == 'true'" + Source="$(PublishIntermediateOutputPath)web.config" + Transform="%(ProjectTransforms.Identity)" + Destination="$(PublishIntermediateOutputPath)web.config" + StackTrace="$(TransformXmlStackTraceEnabled)" + SourceRootPath="$(PublishIntermediateOutputPath)" + TransformRootPath="$(MSBuildProjectDirectory)"/> + + <!-- PROFILE LEVEL TRANSFORMS --> + + <!-- Run the Profile transforms next i.e $(PublishProfileDirectory)\$(PublishProfileName).transform --> + <ItemGroup> + <!-- Run the transform at the profile level e.g: Properties\PublishProfiles\FolderProfile.transform when the profile name is FolderProfile --> + <ProfileTransforms Condition=" '$(PublishProfileName)' != '' " Include="$(PublishProfileDirectory)\$(PublishProfileName).transform" /> + </ItemGroup> + + <TransformXml Condition=" '%(ProfileTransforms.Identity)' != '' + And Exists('%(ProfileTransforms.Identity)') + And Exists('$(PublishIntermediateOutputPath)web.config') + And '$(RunXdt)' == 'true'" + Source="$(PublishIntermediateOutputPath)web.config" + Transform="%(ProfileTransforms.Identity)" + Destination="$(PublishIntermediateOutputPath)web.config" + StackTrace="$(TransformXmlStackTraceEnabled)" + SourceRootPath="$(PublishIntermediateOutputPath)" + TransformRootPath="$(MSBuildProjectDirectory)"/> + + <!-- CUSTOM TRANSFORMS --> + + <!-- Run the Custom transforms next i.e $(CustomTransformFileName) in the project directory first and then run $(CustomTransformFilePath)\$(CustomTransformFileName) --> + <ItemGroup> + <!-- Run the custom transform file e.g: MyTransformFile.xml if the $(CustomTransformFileName) passed to msbuild is MyTransformFile.xml--> + <CustomTransforms Condition=" '$(CustomTransformFileName)' != '' " Include="$(MSBuildProjectDirectory)\$(CustomTransformFileName)" /> + <!-- Run the custom transform file from any location e.g: c:\temp\MyTransformFile.xml if the $(CustomTransformFileName) passed to msbuild is MyTransformFile.xml + and $(CustomTransformDirectory) passed to msbuild is c:\temp\--> + <CustomTransforms Condition=" '$(CustomTransformDirectory)' != '' And '$(CustomTransformFileName)' != '' " Include="$(CustomTransformDirectory)\$(CustomTransformFileName)" /> + + </ItemGroup> + + <TransformXml Condition=" '%(CustomTransforms.Identity)' != '' + And Exists('%(CustomTransforms.Identity)') + And Exists('$(PublishIntermediateOutputPath)web.config') + And '$(RunXdt)' == 'true'" + Source="$(PublishIntermediateOutputPath)web.config" + Transform="%(CustomTransforms.Identity)" + Destination="$(PublishIntermediateOutputPath)web.config" + StackTrace="$(TransformXmlStackTraceEnabled)" + SourceRootPath="$(PublishIntermediateOutputPath)" + TransformRootPath="$(MSBuildProjectDirectory)"/> + + <!-- ENVIRONMENT TRANSFORMS --> + + <!-- Transform the environment variables in the web.config with the $(WebConfigEnvironmentVariables) from publish profile or Project --> + <ItemGroup> + <EnvironmentTransforms Include="$(MSBuildThisFileDirectory)Transforms\EnvironmentWithLocation.transform;$(MSBuildThisFileDirectory)Transforms\EnvironmentNoLocation.transform" /> + </ItemGroup> + + <GenerateEnvTransform Condition=" '$(WebConfigEnvironmentVariables)' != '' " + WebConfigEnvironmentVariables = "$(WebConfigEnvironmentVariables)" + EnvTransformTemplatePaths="@(EnvironmentTransforms)" + PublishTempDirectory="$(PublishIntermediateTempPath)"> + <Output TaskParameter="GeneratedTransformFullPaths" ItemName="_GeneratedEnvironmentTransforms" /> + </GenerateEnvTransform> + + <TransformXml Condition=" '%(_GeneratedEnvironmentTransforms.Identity)' != '' + And Exists('%(_GeneratedEnvironmentTransforms.Identity)') + And Exists('$(PublishIntermediateOutputPath)web.config') + And '$(RunXdt)' == 'true'" + Source="$(PublishIntermediateOutputPath)web.config" + Transform="%(_GeneratedEnvironmentTransforms.Identity)" + Destination="$(PublishIntermediateOutputPath)web.config" + StackTrace="false" + SourceRootPath="$(PublishIntermediateOutputPath)" + TransformRootPath="$(PublishIntermediateTempPath)" + IgnoreError="true"/> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _TransformAppSettings + *********************************************************************************************** + --> + + <Target Name="_TransformAppSettings"> + <PropertyGroup> + <_IsAspNetCoreProject Condition="%(ProjectCapability.Identity) == 'AspNetCore'">true</_IsAspNetCoreProject> + </PropertyGroup> + + <TransformAppSettings + Condition="'$(_IsAspNetCoreProject)' == 'true' And '$(IsTransformAppSettingsDisabled)' != 'true' And @(DestinationConnectionStrings) != ''" + PublishDirectory="$(PublishIntermediateOutputPath)" + ProjectDirectory="$(MSBuildProjectDirectory)" + DestinationConnectionStrings="@(DestinationConnectionStrings)" + SourceAppSettingsName="$(SourceAppSettingsName)" + DestinationAppSettingsName ="$(DestinationAppSettingsName)" + EnvironmentName="$(EnvironmentName)"/> + </Target> + + <!-- + *********************************************************************************************** + TARGET : _GenerateEFSQLScripts + *********************************************************************************************** + --> + + <Target Name="_GenerateEFSQLScripts"> + <PropertyGroup> + <_IsAspNetCoreProject Condition="%(ProjectCapability.Identity) == 'AspNetCore'">true</_IsAspNetCoreProject> + <_EFPublishDirectory Condition="'$(CopyEFSQLScriptsToOutputFolder)' == 'true'">$(PublishIntermediateOutputPath)</_EFPublishDirectory> + <_EFPublishDirectory Condition="'$(_EFPublishDirectory)' == ''">$(PublishIntermediateTempPath)</_EFPublishDirectory> + </PropertyGroup> + + <GenerateEFSQLScripts + Condition="'$(_IsAspNetCoreProject)' == 'true' And '$(IsGenerateEFSQLScriptsDisabled)' != 'true' And @(EfMigrations) != ''" + ProjectDirectory="$(MSBuildProjectDirectory)" + EFPublishDirectory="$(_EFPublishDirectory)" + EFSQLScriptsFolderName="$(EFSQLScriptsFolderName)" + EFMigrations="@(EFMigrations)" + EFMigrationsAdditionalArgs="$(EFMigrationsAdditionalArgs)"> + <Output TaskParameter="EFSQLScripts" ItemName="_EFSQLScripts" /> + </GenerateEFSQLScripts> + </Target> + + + <!-- + *********************************************************************************************** + TARGET : _GenerateRunCommandFile + *********************************************************************************************** + --> + <Target Name="_GenerateRunCommandFile"> + + <PropertyGroup> + <_IsWebJobProject Condition=" '$(_IsWebJobProject)' == '' And '$(WebJobName)' != '' And '$(WebJobType)' != '' ">true</_IsWebJobProject> + <_UseAppHost Condition=" '$(_UseAppHost)' == '' ">$(UseAppHost)</_UseAppHost> + <_UseAppHost Condition=" '$(_UseAppHost)' == '' ">$(SelfContained)</_UseAppHost> + <_UseAppHost Condition=" '$(_UseAppHost)' == '' Or '$(RuntimeIdentifier)' == '' ">false</_UseAppHost> + <_ExecutableExtension Condition=" '$(_ExecutableExtension)' == '' And $(RuntimeIdentifier.StartsWith('win')) ">.exe</_ExecutableExtension> + </PropertyGroup> + + <GenerateRunCommandFile + Condition="'$(_IsWebJobProject)' == 'true' And '$(IsGenerateRunCommandFileDisabled)' != 'true'" + ProjectDirectory="$(MSBuildProjectDirectory)" + TargetPath="$(TargetPath)" + WebJobsDirectory="$(PublishIntermediateOutputPath)\app_data\Jobs\$(WebJobType)\$(WebJobName)\" + UseAppHost="$(_UseAppHost)" + ExecutableExtension="$(_ExecutableExtension)" /> + </Target> +</Project> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/TransformTargets/Transforms/EnvironmentNoLocation.transform b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/TransformTargets/Transforms/EnvironmentNoLocation.transform new file mode 100644 index 0000000000..a4130ce4fb --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/TransformTargets/Transforms/EnvironmentNoLocation.transform @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> + <system.webServer> + <aspNetCore> + <environmentVariables xdt:Transform="InsertIfMissing" /> + </aspNetCore> + </system.webServer> +</configuration> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/TransformTargets/Transforms/EnvironmentWithLocation.transform b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/TransformTargets/Transforms/EnvironmentWithLocation.transform new file mode 100644 index 0000000000..9b194dba5a --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/targets/TransformTargets/Transforms/EnvironmentWithLocation.transform @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> + <location> + <system.webServer> + <aspNetCore> + <environmentVariables xdt:Transform="InsertIfMissing" /> + </aspNetCore> + </system.webServer> + </location> +</configuration> diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.NET.Sdk.Publish.Tasks.dll b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.NET.Sdk.Publish.Tasks.dll Binary files differnew file mode 100644 index 0000000000..f14f1dfa73 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.NET.Sdk.Publish.Tasks.dll diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.Web.Delegation.dll b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.Web.Delegation.dll Binary files differnew file mode 100644 index 0000000000..7427a04d97 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.Web.Delegation.dll diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.Web.Deployment.dll b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.Web.Deployment.dll Binary files differnew file mode 100644 index 0000000000..a266fe583f --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.Web.Deployment.dll diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.Web.XmlTransform.dll b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.Web.XmlTransform.dll Binary files differnew file mode 100644 index 0000000000..753c1b43bc --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/net46/Microsoft.Web.XmlTransform.dll diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/netcoreapp2.1/Microsoft.NET.Sdk.Publish.Tasks.dll b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/netcoreapp2.1/Microsoft.NET.Sdk.Publish.Tasks.dll Binary files differnew file mode 100644 index 0000000000..964f720882 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/netcoreapp2.1/Microsoft.NET.Sdk.Publish.Tasks.dll diff --git a/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/netcoreapp2.1/Microsoft.Web.XmlTransform.dll b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/netcoreapp2.1/Microsoft.Web.XmlTransform.dll Binary files differnew file mode 100644 index 0000000000..91ae0ad501 --- /dev/null +++ b/.dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk.Publish/tools/netcoreapp2.1/Microsoft.Web.XmlTransform.dll |