Skip to content

Commit fc45191

Browse files
authored
[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
1 parent c63c4b1 commit fc45191

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
154154
<LocalInstallationOutputPath>$(LocalDotNetRoot)$(SharedRuntimeSubPath)</LocalInstallationOutputPath>
155155

156156
<FrameworkListFileName>RuntimeList.xml</FrameworkListFileName>
157-
<FrameworkListOutputPath>$(SharedFxLayoutTargetDir)$(FrameworkListFileName)</FrameworkListOutputPath>
157+
<FrameworkListOutputPath>$(ArtifactsObjDir)$(FrameworkListFileName)</FrameworkListOutputPath>
158158

159159
<InternalArchiveOutputFileName>$(InternalInstallerBaseName)-$(PackageVersion)-$(TargetRuntimeIdentifier)$(ArchiveExtension)</InternalArchiveOutputFileName>
160160
<InternalArchiveOutputPath>$(InstallersOutputPath)$(InternalArchiveOutputFileName)</InternalArchiveOutputPath>
@@ -545,7 +545,8 @@ This package is an internal implementation of the .NET Core SDK and is not meant
545545
RootAttributes="@(FrameworkListRootAttributes)" />
546546

547547
<ItemGroup>
548-
<RuntimePackContent Include="$(FrameworkListOutputPath)" PackagePath="$(ManifestsPackagePath)" />
548+
<!-- We only need RuntimeList.xml in the .nupkg, so we intentionally do not include it in the archives -->
549+
<_PackageFiles Include="$(FrameworkListOutputPath)" PackagePath="$(ManifestsPackagePath)" />
549550
<_PackageFiles Include="@(RuntimePackContent)" />
550551
</ItemGroup>
551552
</Target>

0 commit comments

Comments
 (0)