Skip to content

Commit

Permalink
Add experimental netstandard2.0 target to AsyncRx.NET (#1955)
Browse files Browse the repository at this point in the history
  • Loading branch information
idg10 authored May 31, 2023
1 parent 7d71852 commit f4f727c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 0 additions & 4 deletions AsyncRx.NET/ApiCompare/ApiCompare.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Reactive" Version="6.0.0-preview.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\System.Reactive.Async\System.Reactive.Async.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ for (var j = 1; j <= i; j++)
}
#>

var gate = new AsyncLock();
var gate = new AsyncGate();

return
(
Expand Down Expand Up @@ -248,7 +248,7 @@ for (var j = 1; j <= i; j++)
}
#>

var gate = new AsyncLock();
var gate = new AsyncGate();

return
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ for (var i = 2; i <= 15; i++)
if (observer == null)
throw new ArgumentNullException(nameof(observer));

var gate = new AsyncLock();
var gate = new AsyncGate();

<#
for (var j = 1; j <= i; j++)
Expand Down Expand Up @@ -258,7 +258,7 @@ for (var j = 1; j <= i; j++)
if (selector == null)
throw new ArgumentNullException(nameof(selector));

var gate = new AsyncLock();
var gate = new AsyncGate();

<#
for (var j = 1; j <= i; j++)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>

<RootNamespace>System.Reactive</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Reactive" Version="6.0.0-preview.1" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" Condition="$(TargetFramework) == 'netstandard2.0'" />
<PackageReference Include="System.Reactive" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit f4f727c

Please sign in to comment.