Skip to content

Commit c34d1dc

Browse files
authored
Include all .xml files in targeting pack (#26147)
* Include all .xml files in targeting pack * Better syntax * Remove distinct
1 parent 7140f7c commit c34d1dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ This package is an internal implementation of the .NET Core SDK and is not meant
143143
<AspNetCoreReferenceDocXml Include="@(_ResolvedProjectReferencePaths->'%(RootDir)%(Directory)%(FileName).xml')"
144144
Condition="Exists('%(RootDir)%(Directory)%(FileName).xml')" />
145145
<AspNetCoreReferenceDocXml Include="@(_SelectedExtensionsRefAssemblies->'$(RuntimeExtensionsReferenceDirectory)%(FileName).xml')" />
146+
<!-- Grab remaining .xml files from packages -->
147+
<AspNetCoreReferenceDocXml
148+
Include="@(AspNetCoreReferenceAssemblyPath->WithMetadataValue('ExternallyResolved', 'true')->'%(RootDir)%(Directory)%(Filename).xml')"
149+
Condition="Exists('%(RootDir)%(Directory)%(Filename).xml')" />
146150

147151
<RefPackContent Include="@(AspNetCoreReferenceAssemblyPath)" PackagePath="$(RefAssemblyPackagePath)" />
148152
<RefPackContent Include="@(AspNetCoreReferenceDocXml)" PackagePath="$(RefAssemblyPackagePath)" />

0 commit comments

Comments
 (0)