Skip to content

Commit 1802273

Browse files
committed
Try workaround for System.Drawing.Common from GitHub
1 parent ca82a3e commit 1802273

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/NetSparkle.UI.WPF/NetSparkle.UI.WPF.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,11 @@
7070
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
7171
<None Include="..\NetSparkle\ArtWork\software-update-available.png" Pack="true" PackagePath="\" />
7272
</ItemGroup>
73+
<Target Name="_addDrawingReference" AfterTargets="ResolveTargetingPackAssets">
74+
<ItemGroup>
75+
<Reference Condition="'%(Reference.FileName)' == 'PresentationCore'"
76+
Include="%(Reference.RootDir)%(Reference.Directory)System.Drawing.Common.dll;
77+
%(Reference.RootDir)%(Reference.Directory)System.Private.Windows.GdiPlus.dll" />
78+
</ItemGroup>
79+
</Target>
7380
</Project>

0 commit comments

Comments
 (0)