Move System.Data.SqlClient version from csproj to dependencies.props (#293)

This commit is contained in:
Mike Harder 2017-05-03 11:30:51 -07:00 committed by GitHub
parent d277144cb3
commit db517803c8
2 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,14 @@
<Project>
<PropertyGroup>
<AspNetCoreVersion>2.0.0-preview1-*</AspNetCoreVersion>
<!--
* Use 4.4.0-* instead of $(CoreFxVersion) to address "SqlClient fails with netcoreapp2.0 on Win7/Server2008"
* https://github.com/dotnet/corefx/issues/18406
* Revert if and when $(CoreFxVersion) is upgraded to 4.4.0-*
-->
<SqlClientVersion>4.4.0-*</SqlClientVersion>
<CoreFxVersion>4.3.0</CoreFxVersion>
<InternalAspNetCoreSdkVersion>2.0.0-*</InternalAspNetCoreSdkVersion>
<NETStandardImplicitPackageVersion>$(BundledNETStandardPackageVersion)</NETStandardImplicitPackageVersion>

View File

@ -21,11 +21,11 @@
<PackageReference Include="Microsoft.Extensions.CommandLineUtils.Sources" Version="$(AspNetCoreVersion)" PrivateAssets="All" />
<!--
* Use 4.4.0-* instead of $(CoreFxVersion) to address "SqlClient fails with netcoreapp2.0 on Win7/Server2008"
* Use $(SqlClientVersion) instead of $(CoreFxVersion) to address "SqlClient fails with netcoreapp2.0 on Win7/Server2008"
* https://github.com/dotnet/corefx/issues/18406
* Revert if and when $(CoreFxVersion) is upgraded to 4.4.0-*
* Revert if and when $(CoreFxVersion) is upgraded to match $(SqlClientVersion)
-->
<PackageReference Include="System.Data.SqlClient" Version="4.4.0-*" />
<PackageReference Include="System.Data.SqlClient" Version="$(SqlClientVersion)" />
</ItemGroup>
</Project>