Skip to content

Commit

Permalink
Merge pull request #1 from flensrocker/netstandard2.0
Browse files Browse the repository at this point in the history
Use target framework netstandard2.0 and default constant NETSTANDARD2_0
  • Loading branch information
YetaWF committed Jun 12, 2018
2 parents 992166d + ba2574f commit 7d09e32
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
11 changes: 5 additions & 6 deletions src/PdfSharp/PdfSharp.csproj
Expand Up @@ -2,11 +2,10 @@

<PropertyGroup>
<Version>3.0.0.0</Version>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
<DefineConstants>$(DefineConstants);NETCOREAPP;CORE;CORE_WITH_GDI</DefineConstants>
<AssemblyName>PdfSharp.netcoreapp</AssemblyName>
<PackageId>PdfSharp.netcoreapp</PackageId>
<TargetFramework>netstandard2.0</TargetFramework>
<DefineConstants>$(DefineConstants);CORE;CORE_WITH_GDI</DefineConstants>
<AssemblyName>PdfSharp.netstandard2.0</AssemblyName>
<PackageId>PdfSharp.netstandard2.0</PackageId>
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute>
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
Expand Down Expand Up @@ -42,7 +41,7 @@


<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="4.5.0-preview2-26406-04" />
<PackageReference Include="System.Drawing.Common" Version="4.5.0" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/PdfSharp/Windows/PagePreview-ag.xaml.cs
@@ -1,4 +1,4 @@
#if !NETCOREAPP
#if !NETSTANDARD2_0

using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/PdfSharp/Windows/PagePreview-wpf.xaml.cs
@@ -1,4 +1,4 @@
#if !NETCOREAPP
#if !NETSTANDARD2_0

using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/PdfSharp/Windows/PagePreviewDesignTimeData.cs
@@ -1,4 +1,4 @@
#if !NETCOREAPP
#if !NETSTANDARD2_0

using System;
using System.Net;
Expand Down
2 changes: 1 addition & 1 deletion src/PdfSharp/Windows/VisualPresenter.cs
@@ -1,4 +1,4 @@
#if !NETCOREAPP
#if !NETSTANDARD2_0


using System;
Expand Down
2 changes: 1 addition & 1 deletion src/PdfSharp/Windows/enums/RenderMode.cs
Expand Up @@ -27,7 +27,7 @@
// DEALINGS IN THE SOFTWARE.
#endregion

#if !NETCOREAPP
#if !NETSTANDARD2_0

namespace PdfSharp.Windows
{
Expand Down
2 changes: 1 addition & 1 deletion src/PdfSharp/Windows/enums/Zoom.cs
Expand Up @@ -27,7 +27,7 @@
// DEALINGS IN THE SOFTWARE.
#endregion

#if !NETCOREAPP
#if !NETSTANDARD2_0

namespace PdfSharp.Windows
{
Expand Down

0 comments on commit 7d09e32

Please sign in to comment.