Skip to content

Commit 456f9d9

Browse files
committed
Breaking change: remove support for net4.6.2
1 parent 6dcdbf5 commit 456f9d9

File tree

4 files changed

+5
-22
lines changed

4 files changed

+5
-22
lines changed

license.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017-2022, Alexandre Mutel
1+
Copyright (c) 2017-2025, Alexandre Mutel
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Zio provides a simple, powerful, cross-platform **filesystem abstraction for .NE
66

77
## Features
88

9-
- Compatible with `.NET 4.6+`, `netstandard2.0`, `netstandard2.1` and `net7.0`
9+
- Compatible with `netstandard2.0`, `netstandard2.1` and `net8.0+`
1010
- API providing all operations provided by the regular System.IO API (e.g File.Move, Directory.Delete... etc.)
1111
- Allowing atomic filesystem operations (e.g File.Replace...)
1212
- A simple interface abstraction [`IFileSystem`](https://github.com/xoofx/zio/blob/main/src/Zio/IFileSystem.cs)

src/Zio.Tests/Zio.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0;net472</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
<LangVersion>10</LangVersion>
77
</PropertyGroup>

src/Zio/Zio.csproj

Lines changed: 2 additions & 19 deletions
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>net462;netstandard2.0;netstandard2.1;net7.0;net9.0</TargetFrameworks>
8+
<TargetFrameworks>netstandard2.0;netstandard2.1;net8.0;net9.0</TargetFrameworks>
99
<AssemblyName>Zio</AssemblyName>
1010
<PackageId>Zio</PackageId>
1111
<PackageTags>filesystem;vfs;VirtualFileSystem;virtual;abstract;directory;files;io;mock</PackageTags>
@@ -31,18 +31,6 @@
3131
</PackageReference>
3232
</ItemGroup>
3333

34-
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
35-
<PackageReference Include="System.IO.Compression">
36-
<Version>4.3.0</Version>
37-
</PackageReference>
38-
<PackageReference Include="System.ValueTuple">
39-
<Version>4.5.0</Version>
40-
</PackageReference>
41-
<PackageReference Include="System.Memory">
42-
<Version>4.6.0</Version>
43-
</PackageReference>
44-
</ItemGroup>
45-
4634
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
4735
<PackageReference Include="System.IO.Compression">
4836
<Version>4.3.0</Version>
@@ -72,7 +60,7 @@
7260
<DefineConstants>$(AdditionalConstants);NETSTANDARD;HAS_ZIPARCHIVE;HAS_NULLABLEANNOTATIONS</DefineConstants>
7361
</PropertyGroup>
7462

75-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net7.0'">
63+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net8.0'">
7664
<IsTrimmable>true</IsTrimmable>
7765
<IsAotCompatible>true</IsAotCompatible>
7866
<DefineConstants>$(AdditionalConstants);NETSTANDARD;HAS_ZIPARCHIVE;HAS_NULLABLEANNOTATIONS</DefineConstants>
@@ -83,11 +71,6 @@
8371
<IsAotCompatible>true</IsAotCompatible>
8472
<DefineConstants>$(AdditionalConstants);NETSTANDARD;HAS_ZIPARCHIVE;HAS_NULLABLEANNOTATIONS;HAS_ALTERNATEEQUALITYCOMPARER</DefineConstants>
8573
</PropertyGroup>
86-
87-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net462'">
88-
<DefineConstants>$(AdditionalConstants);HAS_ZIPARCHIVE</DefineConstants>
89-
</PropertyGroup>
90-
9174
<PropertyGroup Condition="'$(Configuration)'=='Release'">
9275
<GenerateDocumentationFile>true</GenerateDocumentationFile>
9376
</PropertyGroup>

0 commit comments

Comments
 (0)