1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 03:27:04 +09:00

Include PDB for all TfmRuntimeSpecificPackageFile (#112139)

Previously this would only include the PDB for the primary output which
missed any other additions to TfmRuntimeSpecificPackageFile - such as
those from references or packages.

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
This commit is contained in:
github-actions[bot] 2025-02-21 17:03:58 -05:00 committed by GitHub
parent 881b4bde94
commit 109f9575b6
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -133,7 +133,7 @@
<TfmSpecificPackageFile Include="@(TfmRuntimeSpecificPackageFile)"
PackagePath="runtimes\$(_packageTargetRuntime)\$(BuildOutputTargetFolder)\$(_targetFrameworkWithoutSuffix)\" />
<!-- Create the item and use its metadata separately to avoid MSB4120. See https://aka.ms/msbuild/metadata-self-ref for more info. -->
<_RuntimeSymbolPath Include="$(RuntimeSymbolPath)" />
<_RuntimeSymbolPath Include="@(TfmRuntimeSpecificPackageFile->'%(RootDir)%(Directory)%(FileName).pdb')" Condition="'%(TfmRuntimeSpecificPackageFile.Extension)' == '.dll'" KeepMetadata="None" />
<TfmSpecificDebugSymbolsFile Include="@(_RuntimeSymbolPath)"
TargetPath="/runtimes/$(_packageTargetRuntime)/$(BuildOutputTargetFolder)/$(_targetFrameworkWithoutSuffix)/%(_RuntimeSymbolPath.Filename)%(_RuntimeSymbolPath.Extension)"
TargetFramework="$(_targetFrameworkWithoutSuffix)"