Skip to content

Commit

Permalink
chore: Adjust reference build
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed May 22, 2022
1 parent e04c6db commit 62108fd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
using Windows.UI.Xaml;
#endif

#if WINDOWS || WINUI
namespace SkiaSharp.Views.Windows
#else
namespace SkiaSharp.Views.UWP
#endif
{
public partial class SKSwapChainPanel : FrameworkElement
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
using Windows.UI.Xaml;
#endif

#if WINDOWS || WINUI
namespace SkiaSharp.Views.Windows
#else
namespace SkiaSharp.Views.UWP
#endif
{
public partial class SKXamlCanvas
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<SignAssembly>false</SignAssembly>
<PackagingGroup>SkiaSharp.Views.Uno.WinUI</PackagingGroup>
</PropertyGroup>
<PropertyGroup>
<DefineConstants>$(DefineConstants);WINUI</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Uno.WinUI" Version="4.0.8" />
</ItemGroup>
Expand Down

0 comments on commit 62108fd

Please sign in to comment.