File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 3434 <Compile Remove =" $(MSBuildThisFileDirectory)**\*.Maui.*" />
3535 <Compile Remove =" $(MSBuildThisFileDirectory)**\Maui\*.*" />
3636 </ItemGroup >
37+
38+ <!-- Workaround for https://github.com/dotnet/wpf/issues/11246 -->
39+ <Target Name =" FixWpfReferences" AfterTargets =" ResolveTargetingPackAssets" Condition =" '$(UseWPF)' == 'true'" >
40+ <ItemGroup >
41+ <SystemPrivateWindowsCoreRef Include =" @(Reference)" Condition =" '%(Filename)' == 'System.Private.Windows.Core'" />
42+ <ReferencePath Include =" @(SystemPrivateWindowsCoreRef->'%(RootDir)%(Directory)System.Private.Windows.GdiPlus.dll')" >
43+ <AssemblyName >System.Private.Windows.GdiPlus</AssemblyName >
44+ </ReferencePath >
45+ </ItemGroup >
46+ </Target >
3747
3848</Project >
You can’t perform that action at this time.
0 commit comments