2016-06-28 01:26:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2017-02-23 18:37:48 +00:00
|
|
|
<PropertyGroup>
|
2017-11-02 17:07:11 +00:00
|
|
|
<SdkSymbolsLayoutOutputDirectory>$(LayoutDirectory)/$(ArtifactNameSdkSymbols)</SdkSymbolsLayoutOutputDirectory>
|
2017-02-23 18:37:48 +00:00
|
|
|
<CombinedHostHostFxrFrameworkSdkOutputDirectory>$(LayoutDirectory)/$(ArtifactNameCombinedHostHostFxrFrameworkSdk)</CombinedHostHostFxrFrameworkSdkOutputDirectory>
|
2017-06-22 05:27:28 +00:00
|
|
|
<SdkLanguagePackOutputDirectory>$(LayoutDirectory)/$(ArtifactNameSdkLanguagePack)</SdkLanguagePackOutputDirectory>
|
|
|
|
<SatelliteAssemblies>*.resources.dll</SatelliteAssemblies>
|
|
|
|
<WindowsSatelliteAssembliesRegEx>.*.resources.dll</WindowsSatelliteAssembliesRegEx>
|
2017-02-23 18:37:48 +00:00
|
|
|
</PropertyGroup>
|
2016-06-28 01:26:57 +00:00
|
|
|
|
2017-02-23 18:37:48 +00:00
|
|
|
<Target DependsOnTargets="Init" Name="SetupLayoutInputsOutputs" >
|
2016-06-28 01:26:57 +00:00
|
|
|
<!-- Set up Items with Layout Input Files -->
|
|
|
|
<ItemGroup>
|
|
|
|
<SdkLayoutInput Include="$(OutputDirectory)/sdk/**/*" />
|
2017-11-02 17:07:11 +00:00
|
|
|
<SdkSymbolsLayoutInput Include="$(SymbolsDirectory)/sdk/**/*" />
|
2016-07-01 14:04:40 +00:00
|
|
|
<CombinedHostHostFxrFrameworkSdkInput Include="$(OutputDirectory)/**/*" />
|
2017-06-22 05:27:28 +00:00
|
|
|
<SdkLanguagePackInput Include="$(OutputDirectory)/sdk/**/$(SatelliteAssemblies)" />
|
2017-05-04 00:55:34 +00:00
|
|
|
|
|
|
|
<AspNetRuntimeFilesInput Include="$(AspNetRuntimePackageStorePublishDirectory)/**/*" />
|
2017-06-27 23:49:34 +00:00
|
|
|
|
|
|
|
<MSBuildExtensionsInput Include="$(MSBuildExtensionsLayoutDirectory)/msbuildExtensions/**/*" />
|
|
|
|
<MSBuildExtensionsVerInput Include="$(MSBuildExtensionsLayoutDirectory)/msbuildExtensions-ver/**/*" />
|
|
|
|
<CombinedMSBuildExtensionsInput Include="@(MSBuildExtensionsInput)" />
|
|
|
|
<CombinedMSBuildExtensionsInput Include="@(MSBuildExtensionsVerInput)" />
|
2016-06-28 01:26:57 +00:00
|
|
|
</ItemGroup>
|
|
|
|
|
2016-06-29 23:21:46 +00:00
|
|
|
<MakeRelative
|
2017-02-27 19:06:44 +00:00
|
|
|
Path1="$(OutputDirectory)/"
|
2016-06-29 23:21:46 +00:00
|
|
|
Path2="%(SdkLayoutInput.Identity)" >
|
|
|
|
<Output TaskParameter="RelativePath" ItemName="SdkRelativeOutputFiles" />
|
|
|
|
</MakeRelative>
|
|
|
|
<MakeRelative
|
2017-11-03 22:22:41 +00:00
|
|
|
Condition="'$(SeparateSymbolsArchive)' != 'false'"
|
2017-11-02 17:07:11 +00:00
|
|
|
Path1="$(SymbolsDirectory)/"
|
|
|
|
Path2="%(SdkSymbolsLayoutInput.Identity)" >
|
|
|
|
<Output TaskParameter="RelativePath" ItemName="SdkSymbolsRelativeOutputFiles" />
|
2016-06-29 23:21:46 +00:00
|
|
|
</MakeRelative>
|
|
|
|
<MakeRelative
|
2017-02-27 19:06:44 +00:00
|
|
|
Path1="$(OutputDirectory)/"
|
2016-06-29 23:21:46 +00:00
|
|
|
Path2="%(CombinedHostHostFxrFrameworkSdkInput.Identity)" >
|
|
|
|
<Output TaskParameter="RelativePath" ItemName="CombinedHostHostFxrFrameworkSdkRelativeOutputFiles" />
|
|
|
|
</MakeRelative>
|
2017-06-22 05:27:28 +00:00
|
|
|
<MakeRelative
|
|
|
|
Path1="$(OutputDirectory)/"
|
|
|
|
Path2="%(SdkLanguagePackInput.Identity)" >
|
|
|
|
<Output TaskParameter="RelativePath" ItemName="SdkLanguagePackRelativeOutputFiles" />
|
|
|
|
</MakeRelative>
|
2016-06-29 23:21:46 +00:00
|
|
|
|
2017-06-27 23:49:34 +00:00
|
|
|
<MakeRelative
|
|
|
|
Path1="$(MSBuildExtensionsLayoutDirectory)/msbuildExtensions/"
|
|
|
|
Path2="%(MSBuildExtensionsInput.Identity)" >
|
|
|
|
<Output TaskParameter="RelativePath" ItemName="MSBuildExtensionsRelativeOutputFiles" />
|
|
|
|
</MakeRelative>
|
|
|
|
<MakeRelative
|
|
|
|
Path1="$(MSBuildExtensionsLayoutDirectory)/msbuildExtensions-ver/"
|
|
|
|
Path2="%(MSBuildExtensionsVerInput.Identity)" >
|
|
|
|
<Output TaskParameter="RelativePath" ItemName="MSBuildExtensionsVerRelativeOutputFiles" />
|
|
|
|
</MakeRelative>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<CombinedMSBuildExtensionsRelativeOutputFiles Include="@(MSBuildExtensionsRelativeOutputFiles)" />
|
|
|
|
<CombinedMSBuildExtensionsRelativeOutputFiles Include="@(MSBuildExtensionsVerRelativeOutputFiles -> '14.0/%(Identity)')" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
2016-06-28 01:26:57 +00:00
|
|
|
<!-- Set up Items Defining Layouts for easy change -->
|
|
|
|
<ItemGroup>
|
2016-07-01 14:04:40 +00:00
|
|
|
<LayoutDefinition Include="Sdk">
|
2016-06-28 01:26:57 +00:00
|
|
|
<InputFiles>@(SdkLayoutInput)</InputFiles>
|
2016-06-29 23:21:46 +00:00
|
|
|
<OutputFiles>@(SdkRelativeOutputFiles -> '$(SdkLayoutOutputDirectory)/%(Identity)')</OutputFiles>
|
2016-06-28 01:26:57 +00:00
|
|
|
<NameWithVersion>$(ArtifactNameWithVersionSdk)</NameWithVersion>
|
|
|
|
<Name>$(ArtifactNameSdk)</Name>
|
|
|
|
</LayoutDefinition>
|
|
|
|
|
2017-11-02 17:07:11 +00:00
|
|
|
<LayoutDefinition Include="SdkSymbols" Condition="'$(SeparateSymbolsArchive)' != 'false'">
|
|
|
|
<InputFiles>@(SdkSymbolsLayoutInput)</InputFiles>
|
|
|
|
<OutputFiles>@(SdkSymbolsRelativeOutputFiles -> '$(SdkSymbolsLayoutOutputDirectory)/%(Identity)')</OutputFiles>
|
|
|
|
<NameWithVersion>$(ArtifactNameWithVersionSdkSymbols)</NameWithVersion>
|
|
|
|
<Name>$(ArtifactNameSdkSymbols)</Name>
|
2016-06-28 01:26:57 +00:00
|
|
|
</LayoutDefinition>
|
|
|
|
|
|
|
|
<LayoutDefinition Include="CombinedHostHostFxrFrameworkSdk">
|
|
|
|
<InputFiles>@(CombinedHostHostFxrFrameworkSdkInput)</InputFiles>
|
2016-07-26 04:29:59 +00:00
|
|
|
<OutputFiles>@(CombinedHostHostFxrFrameworkSdkRelativeOutputFiles -> '$(CombinedHostHostFxrFrameworkSdkOutputDirectory)/%(Identity)')</OutputFiles>
|
2016-06-28 01:26:57 +00:00
|
|
|
<NameWithVersion>$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)</NameWithVersion>
|
|
|
|
<Name>$(ArtifactNameCombinedHostHostFxrFrameworkSdk)</Name>
|
2017-06-22 05:27:28 +00:00
|
|
|
<ExcludePatterns Condition=" '$(OSName)' == 'win' ">$(WindowsSatelliteAssembliesRegEx)</ExcludePatterns>
|
|
|
|
<ExcludePatterns Condition=" '$(OSName)' != 'win' ">$(SatelliteAssemblies)</ExcludePatterns>
|
|
|
|
</LayoutDefinition>
|
|
|
|
|
|
|
|
<LayoutDefinition Include="SdkLanguagePack">
|
|
|
|
<InputFiles>@(SdkLanguagePackInput)</InputFiles>
|
|
|
|
<OutputFiles>@(SdkLanguagePackRelativeOutputFiles -> '$(SdkLanguagePackOutputDirectory)/%(Identity)')</OutputFiles>
|
|
|
|
<NameWithVersion>$(ArtifactNameWithVersionSdkLanguagePack)</NameWithVersion>
|
|
|
|
<Name>$(ArtifactNameSdkLanguagePack)</Name>
|
2016-06-28 01:26:57 +00:00
|
|
|
</LayoutDefinition>
|
2017-06-27 23:49:34 +00:00
|
|
|
</ItemGroup>
|
2016-06-28 01:26:57 +00:00
|
|
|
|
2017-06-27 23:49:34 +00:00
|
|
|
<ItemGroup Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x86' ">
|
|
|
|
<LayoutDefinition Include="MSBuildExtensions">
|
|
|
|
<InputFiles>@(CombinedMSBuildExtensionsInput)</InputFiles>
|
|
|
|
<OutputFiles>@(CombinedMSBuildExtensionsRelativeOutputFiles -> '$(MSBuildExtensionsOutputDirectory)/%(Identity)')</OutputFiles>
|
|
|
|
</LayoutDefinition>
|
2016-06-28 01:26:57 +00:00
|
|
|
</ItemGroup>
|
|
|
|
</Target>
|
|
|
|
|
2016-07-26 04:29:59 +00:00
|
|
|
<Target Name="Layout"
|
2016-07-01 14:04:40 +00:00
|
|
|
DependsOnTargets="Init;SetupLayoutInputsOutputs"
|
2016-07-26 04:29:59 +00:00
|
|
|
Inputs="@(LayoutDefinition -> '%(InputFiles)')"
|
2016-06-28 01:26:57 +00:00
|
|
|
Outputs="@(LayoutDefinition -> '%(OutputFiles)')" >
|
|
|
|
|
|
|
|
<!-- Copy Files to layout directories based on defintiions -->
|
2016-07-26 04:29:59 +00:00
|
|
|
<Copy SourceFiles="%(LayoutDefinition.InputFiles)"
|
2016-06-28 01:26:57 +00:00
|
|
|
DestinationFiles="%(LayoutDefinition.OutputFiles)"
|
|
|
|
SkipUnchangedFiles="true" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
</Project>
|