[release/5.0] Don't include RuntimeList.xml in sharedFx archive (#29109)

* Don't include RuntimeList.xml in sharedFx archive

* Don't output RuntimeList.xml to SharedFx dir

* Add comment
This commit is contained in:
William Godbe 2021-01-13 11:34:57 -08:00 committed by GitHub
parent c63c4b1edf
commit fc451917f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -154,7 +154,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
<LocalInstallationOutputPath>$(LocalDotNetRoot)$(SharedRuntimeSubPath)</LocalInstallationOutputPath>
<FrameworkListFileName>RuntimeList.xml</FrameworkListFileName>
<FrameworkListOutputPath>$(SharedFxLayoutTargetDir)$(FrameworkListFileName)</FrameworkListOutputPath>
<FrameworkListOutputPath>$(ArtifactsObjDir)$(FrameworkListFileName)</FrameworkListOutputPath>
<InternalArchiveOutputFileName>$(InternalInstallerBaseName)-$(PackageVersion)-$(TargetRuntimeIdentifier)$(ArchiveExtension)</InternalArchiveOutputFileName>
<InternalArchiveOutputPath>$(InstallersOutputPath)$(InternalArchiveOutputFileName)</InternalArchiveOutputPath>
@ -545,7 +545,8 @@ This package is an internal implementation of the .NET Core SDK and is not meant
RootAttributes="@(FrameworkListRootAttributes)" />
<ItemGroup>
<RuntimePackContent Include="$(FrameworkListOutputPath)" PackagePath="$(ManifestsPackagePath)" />
<!-- We only need RuntimeList.xml in the .nupkg, so we intentionally do not include it in the archives -->
<_PackageFiles Include="$(FrameworkListOutputPath)" PackagePath="$(ManifestsPackagePath)" />
<_PackageFiles Include="@(RuntimePackContent)" />
</ItemGroup>
</Target>