From b2fe92f1d7f22c15252f00305ece2d7487592d42 Mon Sep 17 00:00:00 2001 From: Cheena Malhotra Date: Mon, 10 Feb 2020 11:19:57 -0800 Subject: [PATCH 1/2] Support auto-load latest version references of SNI NuGet package. --- tools/props/Versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/props/Versions.props b/tools/props/Versions.props index 8967461438..566ab3b34e 100644 --- a/tools/props/Versions.props +++ b/tools/props/Versions.props @@ -9,7 +9,7 @@ - 1.1.0 + 1.1.* From 812b3ad46f6cd75447892be8b2ffd6bc59f95655 Mon Sep 17 00:00:00 2001 From: Cheena Malhotra Date: Tue, 11 Feb 2020 11:31:29 -0800 Subject: [PATCH 2/2] Remove vc++ runtime requirement as SNI does not depend on it anymore. --- README.md | 4 ---- tools/specs/Microsoft.Data.SqlClient.nuspec | 3 --- 2 files changed, 7 deletions(-) diff --git a/README.md b/README.md index 26ca6c4e64..37edede6cc 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,6 @@ For the .NET Framework driver on Windows, a package reference to [Microsoft.Data For the .NET Core driver on Windows, a package reference to [runtime.native.System.Data.SqlClient.sni](https://www.nuget.org/packages/runtime.native.System.Data.SqlClient.sni/) loads `arm64`, `x64` and `x86` native `SNI.dll` libraries into the client's build directories. -**Note** -When referencing the native `SNI.dll` on Windows, the Microsoft Visual C++ Redistributable is required to be installed: [The latest supported Visual C++ downloads](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) - - ## Helpful Links | Topic | Link to File | diff --git a/tools/specs/Microsoft.Data.SqlClient.nuspec b/tools/specs/Microsoft.Data.SqlClient.nuspec index 4245826c04..5520b7f48c 100644 --- a/tools/specs/Microsoft.Data.SqlClient.nuspec +++ b/tools/specs/Microsoft.Data.SqlClient.nuspec @@ -21,9 +21,6 @@ Microsoft.Data.SqlClient.SqlTransaction Microsoft.Data.SqlClient.SqlParameterCollection Microsoft.Data.SqlClient.SqlClientFactory -When running on Windows, this library has a dependency on Microsoft.Data.SqlClient.SNI on .NET Framework and runtime.native.System.Data.SqlClient.sni on .NET Core, which requires the Microsoft Visual C++ Redistributable to be installed: -https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads - When using NuGet 3.x this package requires at least version 3.4. https://go.microsoft.com/fwlink/?linkid=2090501 © Microsoft Corporation. All rights reserved.