Skip to content

Commit fbb7a49

Browse files
committed
Fix pre-builts error
1 parent 356f66d commit fbb7a49

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

src/libraries/System.Linq.AsyncEnumerable/ref/System.Linq.AsyncEnumerable.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@
1818

1919
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
2020
<PackageReference Include="System.Threading.Tasks.Extensions" Version="$(SystemThreadingTasksExtensionsVersion)" />
21-
<PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
2221
<ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Bcl.AsyncInterfaces\src\Microsoft.Bcl.AsyncInterfaces.csproj" />
2322
<ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Bcl.Memory\src\Microsoft.Bcl.Memory.csproj" />
2423
</ItemGroup>
24+
25+
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
26+
<PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
27+
</ItemGroup>
2528
</Project>

src/libraries/System.Linq.AsyncEnumerable/src/System.Linq.AsyncEnumerable.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,12 @@
9191
<Compile Include="$(CoreLibSharedDir)System\Runtime\CompilerServices\CallerArgumentExpressionAttribute.cs" />
9292

9393
<PackageReference Include="System.Threading.Tasks.Extensions" Version="$(SystemThreadingTasksExtensionsVersion)" />
94-
<PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
9594
<ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Bcl.AsyncInterfaces\src\Microsoft.Bcl.AsyncInterfaces.csproj" />
9695
<ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Bcl.Memory\src\Microsoft.Bcl.Memory.csproj" />
9796
</ItemGroup>
9897

98+
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
99+
<PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
100+
</ItemGroup>
101+
99102
</Project>

src/libraries/System.Linq.AsyncEnumerable/tests/System.Linq.AsyncEnumerable.Tests.csproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,12 @@
7171
<Compile Include="AllAsyncTests.cs" />
7272
<Compile Include="AsyncEnumerableTests.cs" />
7373
</ItemGroup>
74-
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
75-
<!--<Compile Include="$(CoreLibSharedDir)System\Diagnostics\CodeAnalysis\SetsRequiredMembersAttribute.cs" Link="System.Private.CoreLib\System\Diagnostics\CodeAnalysis\SetsRequiredMembersAttribute.cs" />
76-
<Compile Include="$(CoreLibSharedDir)System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs" Link="System.Private.CoreLib\System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs" />-->
77-
<Compile Include="$(CoreLibSharedDir)System\Runtime\CompilerServices\IsExternalInit.cs" />
78-
<!--<Compile Include="$(CoreLibSharedDir)System\Runtime\CompilerServices\RequiredMemberAttribute.cs" Link="System.Private.CoreLib\System\Runtime\CompilerServices\RequiredMemberAttribute.cs" />-->
79-
</ItemGroup>
8074
<ItemGroup>
8175
<ProjectReference Include="..\src\System.Linq.AsyncEnumerable.csproj" />
8276
<ProjectReference Include="..\..\System.Threading.Channels\src\System.Threading.Channels.csproj" />
8377
</ItemGroup>
78+
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
79+
<Compile Include="$(CoreLibSharedDir)System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs" />
80+
<Compile Include="$(CoreLibSharedDir)System\Runtime\CompilerServices\IsExternalInit.cs" />
81+
</ItemGroup>
8482
</Project>

0 commit comments

Comments
 (0)