Skip to content

Commit 2f07492

Browse files
committed
Pack symbols in SharedFx for libraries we redist from runtime
1 parent 61984fd commit 2f07492

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.Composite.sfxproj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,25 @@
3333
<PartialCompositeAssemblyListPath>PartialCompositeAssemblyListPath.txt</PartialCompositeAssemblyListPath>
3434
</PropertyGroup>
3535

36+
<ItemGroup>
37+
<PackageReference Include="Microsoft.Internal.Runtime.AspNetCore.Transport"
38+
Version="$(MicrosoftInternalRuntimeAspNetCoreTransportVersion)"
39+
ExcludeAssets="All"
40+
GeneratePathProperty="true" />
41+
</ItemGroup>
42+
43+
<!-- Explicitly include symbols for libraries we redistribute from runtime -->
44+
<ItemGroup>
45+
<_TransportPdbs Include="$(PkgMicrosoft_Internal_Runtime_AspNetCore_Transport)\**\*.pdb"
46+
Exclude="$(PkgMicrosoft_Internal_Runtime_AspNetCore_Transport)\**\*.ni.pdb" />
47+
48+
<_TransportPdbsWithName Include="@(_TransportPdbs)"
49+
Name="%(Filename)" />
50+
51+
<_SymbolFilesToPackage Include="@(_TransportPdbsWithName)"
52+
Condition="'@(ExternalAspNetCoreAppReference->AnyHaveMetadataValue('Identity', '%(Name)'))' == 'true'" />
53+
</ItemGroup>
54+
3655
<ItemGroup>
3756
<Reference Include="@(AspNetCoreAppReference);@(AspNetCoreAppReferenceAndPackage);@(ExternalAspNetCoreAppReference)">
3857
<IncludeAssets>Runtime;Native</IncludeAssets>

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,25 @@
5050
<GenerateVSInsertionPackages>true</GenerateVSInsertionPackages>
5151
</PropertyGroup>
5252

53+
<ItemGroup>
54+
<PackageReference Include="Microsoft.Internal.Runtime.AspNetCore.Transport"
55+
Version="$(MicrosoftInternalRuntimeAspNetCoreTransportVersion)"
56+
ExcludeAssets="All"
57+
GeneratePathProperty="true" />
58+
</ItemGroup>
59+
60+
<!-- Explicitly include symbols for libraries we redistribute from runtime -->
61+
<ItemGroup>
62+
<_TransportPdbs Include="$(PkgMicrosoft_Internal_Runtime_AspNetCore_Transport)\**\*.pdb"
63+
Exclude="$(PkgMicrosoft_Internal_Runtime_AspNetCore_Transport)\**\*.ni.pdb" />
64+
65+
<_TransportPdbsWithName Include="@(_TransportPdbs)"
66+
Name="%(Filename)" />
67+
68+
<_SymbolFilesToPackage Include="@(_TransportPdbsWithName)"
69+
Condition="'@(ExternalAspNetCoreAppReference->AnyHaveMetadataValue('Identity', '%(Name)'))' == 'true'" />
70+
</ItemGroup>
71+
5372
<ItemGroup>
5473
<Reference Include="@(AspNetCoreAppReference);@(AspNetCoreAppReferenceAndPackage);@(ExternalAspNetCoreAppReference)">
5574
<IncludeAssets>Runtime;Native</IncludeAssets>

0 commit comments

Comments
 (0)