Skip to content

Commit 157ff9b

Browse files
committed
Updated TargetFrameworks, again
1 parent e268100 commit 157ff9b

File tree

5 files changed

+36
-31
lines changed

5 files changed

+36
-31
lines changed

CSRakowski.AsyncStreamsPreparations.Tests/CSRakowski.AsyncStreamsPreparations.Tests.csproj

Lines changed: 7 additions & 10 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;net472;net60</TargetFrameworks>
4+
<TargetFrameworks>net48;net472;net90;net80;net60</TargetFrameworks>
55

66
<IsPackable>false</IsPackable>
77
<IsTestProject>true</IsTestProject>
@@ -11,25 +11,22 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
1515
<PackageReference Include="xunit" Version="2.8.1" />
16-
<PackageReference Include="coverlet.collector" Version="6.0.2">
16+
<PackageReference Include="coverlet.collector" Version="6.0.4">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
<PrivateAssets>all</PrivateAssets>
1919
</PackageReference>
20-
</ItemGroup>
21-
22-
<ItemGroup Condition="'$(TargetFramework)' == 'net472' or '$(TargetFramework)' == 'net48'">
23-
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
24-
</ItemGroup>
25-
26-
<ItemGroup Condition="'$(TargetFramework)' == 'net472' or '$(TargetFramework)' == 'net48' or '$(TargetFramework)' == 'net60'">
2720
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
2821
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2922
<PrivateAssets>all</PrivateAssets>
3023
</PackageReference>
3124
</ItemGroup>
3225

26+
<ItemGroup Condition="'$(TargetFramework)' == 'net472' or '$(TargetFramework)' == 'net48'">
27+
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
28+
</ItemGroup>
29+
3330
<ItemGroup>
3431
<ProjectReference Include="..\CSRakowski.AsyncStreamsPreparations\CSRakowski.AsyncStreamsPreparations.csproj" />
3532
</ItemGroup>

CSRakowski.AsyncStreamsPreparations.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
99
ProjectSection(SolutionItems) = preProject
1010
.gitignore = .gitignore
1111
Directory.Build.props = Directory.Build.props
12+
global.json = global.json
1213
LICENSE = LICENSE
1314
README.md = README.md
1415
EndProjectSection
Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,40 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.1</TargetFrameworks>
5-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
6-
<Description>Quick helper library containing interfaces and classes to help you prepare for the C# 8 Async Streams feature.</Description>
7-
<PackageProjectUrl>https://github.com/csrakowski/CSRakowski.AsyncStreamsPreparations</PackageProjectUrl>
8-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
9-
<PackageReadmeFile>README.md</PackageReadmeFile>
10-
<RepositoryUrl>https://github.com/csrakowski/CSRakowski.AsyncStreamsPreparations</RepositoryUrl>
11-
<RepositoryType>Git</RepositoryType>
12-
<PackageTags>C# 8, AsyncStreams, IAsyncEnumerable, IAsyncDisposable</PackageTags>
13-
<SignAssembly>true</SignAssembly>
14-
<AssemblyOriginatorKeyFile>CSRakowski.AsyncStreamsPreparations.snk</AssemblyOriginatorKeyFile>
15-
<PackageReleaseNotes>* Updated TargetFrameworks to remove old unsupported ones.</PackageReleaseNotes>
4+
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.1</TargetFrameworks>
5+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
6+
<Description>Quick helper library containing interfaces and classes to help you prepare for the C# 8 Async Streams feature.</Description>
7+
<PackageProjectUrl>https://github.com/csrakowski/CSRakowski.AsyncStreamsPreparations</PackageProjectUrl>
8+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
9+
<PackageReadmeFile>README.md</PackageReadmeFile>
10+
<RepositoryUrl>https://github.com/csrakowski/CSRakowski.AsyncStreamsPreparations</RepositoryUrl>
11+
<RepositoryType>Git</RepositoryType>
12+
<PackageTags>C# 8, AsyncStreams, IAsyncEnumerable, IAsyncDisposable</PackageTags>
13+
<SignAssembly>true</SignAssembly>
14+
<AssemblyOriginatorKeyFile>CSRakowski.AsyncStreamsPreparations.snk</AssemblyOriginatorKeyFile>
15+
<PackageReleaseNotes>* Updated TargetFrameworks to remove old unsupported ones.</PackageReleaseNotes>
1616
</PropertyGroup>
1717

1818
<PropertyGroup>
19-
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\CSRakowski.AsyncStreamsPreparations.xml</DocumentationFile>
19+
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\CSRakowski.AsyncStreamsPreparations.xml</DocumentationFile>
2020
</PropertyGroup>
2121

2222
<PropertyGroup Condition="'$(TargetFramework)' != 'netstandard1.1'">
23-
<DefineConstants>$(DefineConstants);HAS_ASYNCENUMERABLE</DefineConstants>
23+
<DefineConstants>$(DefineConstants);HAS_ASYNCENUMERABLE</DefineConstants>
2424
</PropertyGroup>
2525

26-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard1.1'">
27-
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
26+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1'">
27+
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
2828
</ItemGroup>
29-
29+
3030
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
31-
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
31+
<PackageReference Include="System.Threading.Tasks.Extensions" Version="[4.6,)" />
32+
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
3233
</ItemGroup>
3334

3435
<ItemGroup>
35-
<None Include="..\LICENSE" Pack="true" PackagePath="\"/>
36-
<None Include="..\README.md" Pack="true" PackagePath="\"/>
36+
<None Include="..\LICENSE" Pack="true" PackagePath="\"/>
37+
<None Include="..\README.md" Pack="true" PackagePath="\"/>
3738
</ItemGroup>
3839

3940
</Project>

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<Authors>Christiaan Rakowski</Authors>
4-
<Copyright>Christiaan Rakowski - 2018-2024</Copyright>
4+
<Copyright>Christiaan Rakowski - 2018-2025</Copyright>
55
<Version>1.6.0</Version>
66
<LangVersion>latest</LangVersion>
77
</PropertyGroup>

global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"version": "9.0.300",
4+
"rollForward": "latestFeature"
5+
}
6+
}

0 commit comments

Comments
 (0)