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

This commit is contained in:
Mike Harder 2017-05-03 11:31:08 -07:00 committed by GitHub
parent 0f114f9df9
commit 6ab84e0f27
2 changed files with 11 additions and 3 deletions

View File

@ -3,6 +3,14 @@
<AspNetCoreVersion>2.0.0-preview1-*</AspNetCoreVersion>
<AspNetIntegrationTestingVersion>0.4.0-*</AspNetIntegrationTestingVersion>
<AspNetCoreModuleVersion>1.0.0-*</AspNetCoreModuleVersion>
<!--
* 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>
<NETStandardImplicitPackageVersion>$(BundledNETStandardPackageVersion)</NETStandardImplicitPackageVersion>
<TestSdkVersion>15.0.0</TestSdkVersion>

View File

@ -30,11 +30,11 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(TestSdkVersion)" />
<!--
* 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)" />
<PackageReference Include="System.Xml.XmlDocument" Version="$(CoreFxVersion)" />
<PackageReference Include="xunit.runner.visualstudio" Version="$(XunitVersion)" />