Skip to content

Commit 903e16a

Browse files
committed
Target netstandard2.0 and net8.0
Resolves #133
1 parent 644f185 commit 903e16a

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

Source/HttpMultipartParser/HttpMultipartParser.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net48;netstandard2.1</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
55
<LangVersion>preview</LangVersion>
66
<PlatformTarget>anycpu</PlatformTarget>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -46,12 +46,7 @@
4646
<PackageReference Include="System.Buffers" Version="4.6.1" />
4747
</ItemGroup>
4848

49-
<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) ">
50-
<Reference Include="Microsoft.CSharp" />
51-
<Reference Include="System" />
52-
</ItemGroup>
53-
54-
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
49+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
5550
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
5651
</ItemGroup>
5752

0 commit comments

Comments
 (0)