Skip to content

Commit a54cd69

Browse files
authored
Reduce target frameworks (#540)
This change reduces the target frameworks this library supports to .NET Standard 2.0 and 2.1. The goal of this change is to reduce maintenance efforts and get rid of legacy workarounds. As this is a breaking change for consumers (e.g. no more support from .NET Framework < 4.7) the major version is bumped to 8. If you need support for older frameworks feel free to stay at v7.1.10 or fork this repo from 86066e0.
1 parent 86066e0 commit a54cd69

File tree

136 files changed

+493
-969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+493
-969
lines changed

Directory.Build.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Product>System.IO.Abstractions</Product>
4+
<Copyright>Copyright © Tatham Oddie 2010</Copyright>
5+
<Authors>Tatham Oddie &amp; friends</Authors>
6+
<SignAssembly Condition="'$(Configuration)' == 'Release'">True</SignAssembly>
7+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)StrongName.snk</AssemblyOriginatorKeyFile>
8+
</PropertyGroup>
9+
<ItemGroup>
10+
<PackageReference Include="Nerdbank.GitVersioning" Version="3.0.50">
11+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
12+
<PrivateAssets>all</PrivateAssets>
13+
</PackageReference>
14+
</ItemGroup>
15+
</Project>

Directory.Build.targets

Lines changed: 0 additions & 5 deletions
This file was deleted.

System.IO.Abstractions.TestingHelpers.Tests/System.IO.Abstractions.TestingHelpers.Tests.csproj

Lines changed: 0 additions & 57 deletions
This file was deleted.

System.IO.Abstractions.TestingHelpers/System.IO.Abstractions.TestingHelpers.csproj

Lines changed: 0 additions & 53 deletions
This file was deleted.

System.IO.Abstractions.ncrunchsolution

Lines changed: 0 additions & 13 deletions
This file was deleted.

System.IO.Abstractions.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
99
StrongName.snk = StrongName.snk
1010
EndProjectSection
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.Abstractions.TestingHelpers.Tests", "System.IO.Abstractions.TestingHelpers.Tests\System.IO.Abstractions.TestingHelpers.Tests.csproj", "{20B02738-952A-40F5-9C10-E2F83013E9FC}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.Abstractions.TestingHelpers.Tests", "tests/System.IO.Abstractions.TestingHelpers.Tests\System.IO.Abstractions.TestingHelpers.Tests.csproj", "{20B02738-952A-40F5-9C10-E2F83013E9FC}"
1313
EndProject
14-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.IO.Abstractions", "System.IO.Abstractions\System.IO.Abstractions.csproj", "{B7DA254D-496F-4C50-969C-CF925758E2ED}"
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.IO.Abstractions", "src/System.IO.Abstractions\System.IO.Abstractions.csproj", "{B7DA254D-496F-4C50-969C-CF925758E2ED}"
1515
EndProject
16-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.IO.Abstractions.TestingHelpers", "System.IO.Abstractions.TestingHelpers\System.IO.Abstractions.TestingHelpers.csproj", "{0103D32A-6124-4A1A-AD6C-30EB957F09B0}"
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.IO.Abstractions.TestingHelpers", "src/System.IO.Abstractions.TestingHelpers\System.IO.Abstractions.TestingHelpers.csproj", "{0103D32A-6124-4A1A-AD6C-30EB957F09B0}"
1717
EndProject
1818
Global
1919
GlobalSection(SolutionConfigurationPlatforms) = preSolution

System.IO.Abstractions.sln.DotSettings

Lines changed: 0 additions & 2 deletions
This file was deleted.

System.IO.Abstractions/System.IO.Abstractions.csproj

Lines changed: 0 additions & 59 deletions
This file was deleted.

System.IO.Abstractions/System.IO.Abstractions.ncrunchproject

Lines changed: 0 additions & 20 deletions
This file was deleted.

after.System.IO.Abstractions.sln.targets

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)