Skip to content

Commit 7cb794b

Browse files
committed
Dropping support for netstandard2.0
1 parent dc69728 commit 7cb794b

File tree

7 files changed

+2
-157
lines changed

7 files changed

+2
-157
lines changed

Directory.Packages.props

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
<ItemGroup>
1515
<PackageVersion Include="libClang" Version="16.0.6" />
1616
<PackageVersion Include="libClangSharp" Version="16.0.6" />
17-
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="1.1.1" />
1817
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
1918
<PackageVersion Include="NUnit" Version="3.13.3" />
2019
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
2120
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta3.22114.1" />
22-
<PackageVersion Include="System.Memory" Version="4.5.5" />
2321
</ItemGroup>
2422

2523
</Project>

sources/ClangSharp.Interop/ClangSharp.Interop.csproj

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

44
<PropertyGroup>
5-
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
66
</PropertyGroup>
77

88
<PropertyGroup>
@@ -27,27 +27,9 @@
2727
<NoWarn>$(NoWarn);CA1003;CA1008;CA1027;CA1034;CA1051;CA1069;CA1305;CA1508;CA1707;CA1708;CA1710;CA1711;CA1712;CA1720;CA1721;CA1724;CA1815;CA2225</NoWarn>
2828
</PropertyGroup>
2929

30-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
31-
<Compile Remove="clang.cs" />
32-
<InternalsVisibleTo Include="ClangSharp" Key="$(AssemblyOriginatorPublicKey)" />
33-
<InternalsVisibleTo Include="ClangSharp.PInvokeGenerator" Key="$(AssemblyOriginatorPublicKey)" />
34-
</ItemGroup>
35-
36-
<ItemGroup Condition="'$(TargetFramework)' != 'netstandard2.0'">
37-
<Compile Remove="Shims/Index.cs" />
38-
<Compile Remove="Shims/MemberNotNullWhenAttribute.cs" />
39-
<Compile Remove="Shims/Range.cs" />
40-
<Compile Remove="Shims/SkipLocalsInitAttribute.cs" />
41-
</ItemGroup>
42-
4330
<ItemGroup>
4431
<PackageReference Include="libClang" />
4532
<PackageReference Include="libClangSharp" />
4633
</ItemGroup>
4734

48-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
49-
<PackageReference Include="Microsoft.Bcl.HashCode" />
50-
<PackageReference Include="System.Memory" />
51-
</ItemGroup>
52-
5335
</Project>

sources/ClangSharp.Interop/Shims/Index.cs

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

sources/ClangSharp.Interop/Shims/MemberNotNullWhenAttribute.cs

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

sources/ClangSharp.Interop/Shims/Range.cs

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

sources/ClangSharp.Interop/Shims/SkipLocalsInitAttribute.cs

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

sources/ClangSharp/ClangSharp.csproj

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

44
<PropertyGroup>
5-
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
66
</PropertyGroup>
77

88
<PropertyGroup>

0 commit comments

Comments
 (0)