Skip to content

Commit

Permalink
Multitarget Views.WPF (#1069)
Browse files Browse the repository at this point in the history
* Views.WPF now multitargets Framework 4.5 and Core 3.0 #1029
* added .NET Core 3.0 to View.Desktiop.Common nuspec file
* added .NET Core 3.0 to View.WPF nuspec file
  • Loading branch information
TysonMN authored and mattleibow committed Dec 21, 2019
1 parent 36693bd commit bc3d08f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions nuget/SkiaSharp.Views.Desktop.Common.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release
<!-- SkiaSharp.Views.*.dll -->
<file src="lib/net45/SkiaSharp.Views.Desktop.Common.dll" />
<file src="lib/net45/SkiaSharp.Views.Desktop.Common.xml" />
<file src="lib/netcoreapp3.0/SkiaSharp.Views.Desktop.Common.dll" />
<file src="lib/netcoreapp3.0/SkiaSharp.Views.Desktop.Common.xml" />
<file src="lib/netstandard2.0/SkiaSharp.Views.Desktop.Common.dll" />
<file src="lib/netstandard2.0/SkiaSharp.Views.Desktop.Common.xml" />

Expand Down
2 changes: 2 additions & 0 deletions nuget/SkiaSharp.Views.WPF.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release
<files>

<!-- SkiaSharp.Views.*.dll -->
<file src="lib/netcoreapp3.0/SkiaSharp.Views.WPF.dll" />
<file src="lib/netcoreapp3.0/SkiaSharp.Views.WPF.xml" />
<file platform="windows" src="lib/net45/SkiaSharp.Views.WPF.dll" />
<file platform="windows" src="lib/net45/SkiaSharp.Views.WPF.xml" />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFramework>net45</TargetFramework>
<TargetFrameworks>net45;netcoreapp3.0</TargetFrameworks>
<UseWpf>true</UseWpf>
<RootNamespace>SkiaSharp.Views.WPF</RootNamespace>
<AssemblyName>SkiaSharp.Views.WPF</AssemblyName>
<PackagingGroup>SkiaSharp.Views.WPF</PackagingGroup>
<DefineConstants>$(DefineConstants);__DESKTOP__;__WPF__</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="WindowsBase" />
Expand Down

0 comments on commit bc3d08f

Please sign in to comment.