Skip to content

Commit e690374

Browse files
author
Oren Novotny
committed
Use Microsoft.Bcl.AsyncInterfaces
1 parent 5906af9 commit e690374

File tree

14 files changed

+21
-625
lines changed

14 files changed

+21
-625
lines changed

Ix.NET/Source/Directory.build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<DebugType Condition="'$(Configuration)' != 'Debug'">embedded</DebugType>
1717
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1818
<PublishRepositoryUrl>true</PublishRepositoryUrl>
19-
<!-- While in beta, we need to set 8.0 manually (rather than latest). -->
20-
<LangVersion>8.0</LangVersion>
19+
<!-- While in beta, we need to set preview for 8.0 manually (rather than latest). -->
20+
<LangVersion>preview</LangVersion>
2121
</PropertyGroup>
2222

2323
<ItemGroup>

Ix.NET/Source/Directory.build.targets

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
1111
<DefineConstants>$(DefineConstants);NO_ARRAY_EMPTY;NO_TASK_FROMEXCEPTION</DefineConstants>
1212
</PropertyGroup>
13-
<PropertyGroup Condition="'$(TargetFramework)' == 'net46'">
13+
<PropertyGroup Condition="'$(TargetFramework)' == 'net46' or '$(TargetFramework)' == 'net461'">
1414
<DefineConstants>$(DefineConstants);USE_ASYNC_ITERATOR</DefineConstants>
1515
</PropertyGroup>
1616
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' or '$(TargetFramework)' == 'netstandard2.1'">
@@ -21,11 +21,6 @@
2121
<Product>$(AssemblyName) ($(TargetFramework))</Product>
2222
</PropertyGroup>
2323

24-
<ItemGroup>
25-
<!-- Workaround https://github.com/dotnet/sdk/issues/2976 -->
26-
<PackageReference Update="Microsoft.NETCore.Platforms" PrivateAssets="All" />
27-
</ItemGroup>
28-
2924
<PropertyGroup Condition="'$(IsTestProject)' == 'true'">
3025
<UseSourceLink>true</UseSourceLink>
3126
<CoverletOutputFormat>cobertura</CoverletOutputFormat>

Ix.NET/Source/NuGet.config

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
5+
<add key="dotnet-windowsdesktop" value="https://dotnetfeed.blob.core.windows.net/dotnet-windowsdesktop/index.json" />
6+
<add key="aspnet-aspnetcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json" />
7+
<add key="aspnet-aspnetcore-tooling" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore-tooling/index.json" />
8+
<add key="aspnet-entityframeworkcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-entityframeworkcore/index.json" />
9+
<add key="aspnet-extensions" value="https://dotnetfeed.blob.core.windows.net/aspnet-extensions/index.json" />
10+
</packageSources>
11+
</configuration>

Ix.NET/Source/System.Interactive.Async/System.Interactive.Async.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>Interactive Extensions Async Library used to express queries over asynchronous enumerable sequences.</Description>
55
<AssemblyTitle>Interactive Extensions - Async Library</AssemblyTitle>
6-
<TargetFrameworks>net45;net46;netstandard2.0;netstandard2.1;netcoreapp3.0</TargetFrameworks>
6+
<TargetFrameworks>net461;netstandard2.0;netstandard2.1;netcoreapp3.0</TargetFrameworks>
77
<PackageTags>Ix;Interactive;Extensions;Enumerable;Asynchronous</PackageTags>
88
</PropertyGroup>
99

Ix.NET/Source/System.Linq.Async/System.Linq.Async.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net45;net46;netstandard2.0;netstandard2.1;netcoreapp3.0</TargetFrameworks>
4+
<TargetFrameworks>net461;netstandard2.0;netstandard2.1;netcoreapp3.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>
@@ -23,7 +23,7 @@
2323
</ItemGroup>
2424

2525
<ItemGroup>
26-
<PackageReference Condition="'$(TargetFramework)' != 'netcoreapp3.0' and '$(TargetFramework)' != 'netstandard2.1' " Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
26+
<PackageReference Condition="'$(TargetFramework)' != 'netcoreapp3.0' and '$(TargetFramework)' != 'netstandard2.1' " Include="Microsoft.Bcl.AsyncInterfaces" Version="1.0.0-preview6.19252.4" />
2727
<ReferenceAssemblyProjectReference Include="..\refs\System.Linq.Async.Ref\System.Linq.Async.Ref.csproj" />
2828
</ItemGroup>
2929

@@ -87,8 +87,4 @@
8787
</None>
8888
</ItemGroup>
8989

90-
<ItemGroup>
91-
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
92-
</ItemGroup>
93-
9490
</Project>

Ix.NET/Source/System.Linq.Async/System/Collections/Generic/IAsyncEnumerable.cs

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

Ix.NET/Source/System.Linq.Async/System/Collections/Generic/IAsyncEnumerator.cs

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

Ix.NET/Source/System.Linq.Async/System/IAsyncDisposable.cs

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

Ix.NET/Source/System.Linq.Async/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs

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

Ix.NET/Source/System.Linq.Async/System/Runtime/CompilerServices/ConfiguredAsyncDisposable.cs

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

0 commit comments

Comments
 (0)