Skip to content

Commit 99c16ec

Browse files
committed
Remove support for net40 net45
1 parent b7b5f2f commit 99c16ec

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/Zio/Zio.csproj

+3-11
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyTitle>Zio</AssemblyTitle>
66
<NeutralLanguage>en-US</NeutralLanguage>
77
<Authors>Alexandre Mutel</Authors>
8-
<TargetFrameworks>net40;net45;netstandard2.0;netstandard2.1;net7.0</TargetFrameworks>
8+
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net7.0</TargetFrameworks>
99
<AssemblyName>Zio</AssemblyName>
1010
<PackageId>Zio</PackageId>
1111
<PackageTags>filesystem;vfs;VirtualFileSystem;virtual;abstract;directory;files;io;mock</PackageTags>
@@ -31,11 +31,7 @@
3131
</PackageReference>
3232
</ItemGroup>
3333

34-
<ItemGroup Condition=" '$(TargetFramework)' == 'net45'">
35-
<Reference Include="System.IO.Compression" />
36-
</ItemGroup>
37-
38-
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
34+
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
3935
<PackageReference Include="System.IO.Compression">
4036
<Version>4.3.0</Version>
4137
</PackageReference>
@@ -75,14 +71,10 @@
7571
<DefineConstants>$(AdditionalConstants);NETSTANDARD;HAS_ZIPARCHIVE;HAS_NULLABLEANNOTATIONS</DefineConstants>
7672
</PropertyGroup>
7773

78-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45'">
74+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net462'">
7975
<DefineConstants>$(AdditionalConstants);NET45;HAS_ZIPARCHIVE</DefineConstants>
8076
</PropertyGroup>
8177

82-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net40'">
83-
<DefineConstants>$(AdditionalConstants);NET40</DefineConstants>
84-
</PropertyGroup>
85-
8678
<PropertyGroup Condition="'$(Configuration)'=='Release'">
8779
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8880
</PropertyGroup>

0 commit comments

Comments
 (0)