Skip to content

Commit

Permalink
Merge pull request #7141 from AzureAms/dev/trungnt2910/dotnetframework
Browse files Browse the repository at this point in the history
fix(WPF): Also use WPF for net47
  • Loading branch information
jeromelaban authored Feb 25, 2022
2 parents 058fa47 + 35fc7d5 commit e9c593e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Uno.UI.Runtime.Skia.Wpf/Uno.UI.Runtime.Skia.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PackageId Condition="'$(UNO_UWP_BUILD)'!='true'">Uno.WinUI.Runtime.Skia.Wpf</PackageId>

<UseCommonOverridePackage>true</UseCommonOverridePackage>
<UseWPF Condition="'$(TargetFramework)'=='netcoreapp3.1' or '$(TargetFramework)'=='net5.0-windows'">true</UseWPF>
<UseWPF>true</UseWPF>

<!-- 9.0 to work around a VS 2019 build issue -->
<LangVersion>9.0</LangVersion>
Expand All @@ -35,13 +35,6 @@
<PackageReference Include="SkiaSharp.Views.WPF" />
</ItemGroup>

<ItemGroup>
<Reference Include="PresentationFramework" />
<Reference Include="PresentationCore" />
<Reference Include="WindowsBase" />
<Reference Include="System.Xaml" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Uno.Foundation\Uno.Foundation.Skia.csproj" TreatAsPackageReference="false" PrivateAssets="all" />
<ProjectReference Include="..\Uno.UI\Uno.UI.Skia.csproj" />
Expand Down

0 comments on commit e9c593e

Please sign in to comment.