Skip to content

Commit

Permalink
add explicit async interfaces and tasks dependencies for netfx
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraith2 committed Nov 4, 2022
1 parent d55bcd3 commit d31c531
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
<ItemGroup Condition="'$(TargetGroup)' == 'netstandard'">
<Compile Include="..\..\ref\System.Data.Common.Batch.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netstandard' AND $(TargetNetStandardVersion)=='netstandard2.1'">
<Compile Include="..\..\ref\System.Data.Common.Batch.IAsyncDisposable.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\ref\Microsoft.Data.SqlClient.Batch.cs" />
<Compile Include="..\..\ref\Microsoft.Data.SqlClient.Batch.NetCoreApp.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netstandard' AND $(TargetNetStandardVersion)=='netstandard2.1'">
<Compile Include="..\..\ref\System.Data.Common.Batch.IAsyncDisposable.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netstandard'">
<Compile Include="Microsoft.Data.SqlClient.NetStandard.cs" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.Identity.Client" Version="$(MicrosoftIdentityClientVersion)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="$(MicrosoftBclAsyncInterfacesVersion)" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="$(SystemThreadingTasksExtensionsVersion)" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,9 @@
</COMReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces">
<Version>$(MicrosoftBclAsyncInterfacesVersion)</Version>
</PackageReference>
<PackageReference Condition="$(BuildForRelease) == 'true'" Include="Microsoft.SourceLink.GitHub" Version="$(MicrosoftSourceLinkGitHubVersion)" PrivateAssets="All" />
<PackageReference Include="System.Text.Encodings.Web">
<Version>$(SystemTextEncodingsWebVersion)</Version>
Expand Down Expand Up @@ -752,6 +755,9 @@
<PackageReference Include="System.IO">
<Version>$(SystemIOVersion)</Version>
</PackageReference>
<PackageReference Include="System.Threading.Tasks.Extensions">
<Version>$($(SystemThreadingTasksExtensionsVersion))</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(NetFxSource)tools\targets\GenerateResourceStringsSource.targets" />
Expand Down
2 changes: 2 additions & 0 deletions tools/props/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<MicrosoftDataSqlClientSniVersion>5.1.0-preview1.22278.1</MicrosoftDataSqlClientSniVersion>
<SystemSecurityCryptographyAlgorithmsVersion>4.3.1</SystemSecurityCryptographyAlgorithmsVersion>
<SystemSecurityCryptographyPrimitivesVersion>4.3.0</SystemSecurityCryptographyPrimitivesVersion>
<SystemThreadingTasksExtensionsVersion>4.5.4</SystemThreadingTasksExtensionsVersion>
<MicrosoftBclAsyncInterfacesVersion>6.0.0</MicrosoftBclAsyncInterfacesVersion>
</PropertyGroup>
<!-- NetFx and NetCore project dependencies -->
<PropertyGroup>
Expand Down

0 comments on commit d31c531

Please sign in to comment.