Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.

Commit

Permalink
Updated to netstandard2.0 final.
Browse files Browse the repository at this point in the history
  • Loading branch information
VahidN committed Aug 15, 2017
1 parent f0f514b commit 414f36c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 34 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<AssemblyName>EPPlus.Core.FunctionalTests</AssemblyName>
Expand All @@ -10,19 +9,15 @@
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\EPPlus.Core\EPPlus.Core.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170427-09" />
<PackageReference Include="MSTest.TestAdapter" Version="1.1.17" />
<PackageReference Include="MSTest.TestFramework" Version="1.1.17" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.1.18" />
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />
</ItemGroup>

<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>

</Project>
7 changes: 1 addition & 6 deletions src/EPPlus.Core.SampleWebApp/EPPlus.Core.SampleWebApp.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;</PackageTargetFallback>
</PropertyGroup>

<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview1-final" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\EPPlus.Core\EPPlus.Core.csproj" />
</ItemGroup>

</Project>
34 changes: 14 additions & 20 deletions src/EPPlus.Core/EPPlus.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>EPPlus.Core is an unofficial port of the EPPlus library to .NET Core.</Description>
<VersionPrefix>1.5.1</VersionPrefix>
<VersionPrefix>1.5.2</VersionPrefix>
<Authors>Vahid Nasiri</Authors>
<TargetFrameworks>net40;net45;net46;netstandard1.3;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net40;net45;net46;netstandard1.3;netstandard2.0</TargetFrameworks>
<NoWarn>$(NoWarn);1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyName>EPPlus.Core</AssemblyName>
Expand All @@ -17,11 +17,9 @@
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<PlatformTarget>anycpu</PlatformTarget>
</PropertyGroup>

</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -34,9 +32,8 @@
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net40'">
<DefineConstants>NO_SFX</DefineConstants>
</PropertyGroup>

<DefineConstants>NO_SFX</DefineConstants>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -49,9 +46,8 @@
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
<DefineConstants>NO_SFX</DefineConstants>
</PropertyGroup>

<DefineConstants>NO_SFX</DefineConstants>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -64,9 +60,8 @@
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net46'">
<DefineConstants>NO_SFX</DefineConstants>
</PropertyGroup>

<DefineConstants>NO_SFX</DefineConstants>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="CoreCompat.System.Drawing" Version="1.0.0-beta006" />
<PackageReference Include="System.Collections.NonGeneric" Version="4.3.0" />
Expand All @@ -78,13 +73,12 @@
<PackageReference Include="System.Threading.Thread" Version="4.3.0" />
<PackageReference Include="System.Threading.ThreadPool" Version="4.3.0" />
<PackageReference Include="System.Xml.XmlDocument" Version="4.3.0" />
<PackageReference Include="System.Xml.XPath.XmlDocument" Version="4.3.0" />
<PackageReference Include="System.Xml.XPath.XmlDocument" Version="4.3.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.3.0" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
<DefineConstants>COREFX;NO_SFX</DefineConstants>
<DefineConstants>COREFX;NO_SFX</DefineConstants>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="CoreCompat.System.Drawing.v2" Version="5.2.0-preview1-r131" />
<PackageReference Include="System.Collections.NonGeneric" Version="4.3.0" />
Expand All @@ -97,10 +91,10 @@
<PackageReference Include="System.Threading.ThreadPool" Version="4.3.0" />
<PackageReference Include="System.Xml.XmlDocument" Version="4.3.0" />
<PackageReference Include="System.Xml.XPath.XmlDocument" Version="4.3.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.4.0-preview1-25305-02" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.4.0-preview1-25305-02" />
<PackageReference Include="System.Data.SqlClient" Version="4.4.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.4.0" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<DefineConstants>NETSTANDARD2_0;NO_SFX</DefineConstants>
</PropertyGroup>
</PropertyGroup>
</Project>

0 comments on commit 414f36c

Please sign in to comment.