Skip to content

Commit

Permalink
feat!: require net6.0, net8.0 or net472
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Jan 25, 2024
1 parent e2680b9 commit ee417fe
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions EPPlus/EPPlus.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net462</TargetFrameworks>
<TargetFrameworks Condition=" $([MSBuild]::IsOSUnixLike()) ">netstandard2.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0;net472</TargetFrameworks>
<TargetFrameworks Condition=" $([MSBuild]::IsOSUnixLike()) ">net6.0;net8.0</TargetFrameworks>
<PackageId>VisualOn.EPPlus</PackageId>
<PackageProjectUrl>https://github.com/visualon/epplus</PackageProjectUrl>
<Authors>Jan Källman; VisualOn</Authors>
Expand Down Expand Up @@ -31,7 +31,7 @@
<Compile Remove="Packaging\DotNetZip\ZipFile.SaveSelfExtractor.cs" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
<Reference Include="PresentationCore" />
<Reference Include="System" />
<Reference Include="System.Configuration" />
Expand All @@ -40,20 +40,6 @@
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
<PackageReference Include="System.ComponentModel.TypeConverter" Version="4.3.0" />
<PackageReference Include="System.Data.Common" Version="4.3.0" />
<PackageReference Include="System.Drawing.Common" Version="4.7.3" />
<PackageReference Include="System.Reflection" Version="4.3.0" />
<PackageReference Include="System.Security.Claims" Version="4.3.0" />
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="6.0.4" />
<PackageReference Include="System.Security.Cryptography.X509Certificates" Version="4.3.2" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="6.0.0" />
<PackageReference Include="System.Xml.XmlDocument" Version="4.3.0" />
<PackageReference Include="System.Xml.XPath.XmlDocument" Version="4.3.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="System.ComponentModel.TypeConverter" Version="4.3.0" />
Expand Down

0 comments on commit ee417fe

Please sign in to comment.