[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:
parent
c63c4b1edf
commit
fc451917f8
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue