Skip to content

Commit b34f93f

Browse files
committed
copy xml files to package if they exist
1 parent fe61858 commit b34f93f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/TextRendering.Systems.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030

3131
<ItemGroup>
3232
<Content Include="bin/Debug/net9.0/TextRendering.Systems.dll" Pack="true" PackagePath="tools/debug/TextRendering.Systems.dll" Visible="false"/>
33-
<Content Include="bin/Debug/net9.0/TextRendering.Systems.xml" Pack="true" PackagePath="tools/debug/TextRendering.Systems.xml" Visible="false"/>
33+
<Content Include="bin/Debug/net9.0/TextRendering.Systems.xml" Pack="true" PackagePath="tools/debug/TextRendering.Systems.xml" Visible="false" Condition="Exists('bin/Debug/net9.0/TextRendering.Systems.xml')"/>
3434
<Content Include="bin/Release/net9.0/TextRendering.Systems.dll" Pack="true" PackagePath="tools/release/TextRendering.Systems.dll" Visible="false"/>
35-
<Content Include="bin/Release/net9.0/TextRendering.Systems.xml" Pack="true" PackagePath="tools/release/TextRendering.Systems.xml" Visible="false"/>
35+
<Content Include="bin/Release/net9.0/TextRendering.Systems.xml" Pack="true" PackagePath="tools/release/TextRendering.Systems.xml" Visible="false" Condition="Exists('bin/Release/net9.0/TextRendering.Systems.xml')"/>
3636
<Content Include="build/TextRendering.Systems.targets" Pack="true" PackagePath="build/TextRendering.Systems.targets" Visible="false"/>
3737
</ItemGroup>
3838

0 commit comments

Comments
 (0)