From 2fc320b7fbb1d14061b53055b8062b542d1e2aff Mon Sep 17 00:00:00 2001
From: Edward Neal <55035479+edwardneal@users.noreply.github.com>
Date: Mon, 11 Nov 2024 19:09:28 +0000
Subject: [PATCH] Synced ref project references with runtime projects (#2878)
This should enable ResolveAssemblyReferences to generate the correct binding redirects.
---
.../netcore/ref/Microsoft.Data.SqlClient.csproj | 6 ++++++
.../netcore/src/Microsoft.Data.SqlClient.csproj | 4 +---
.../netfx/ref/Microsoft.Data.SqlClient.csproj | 17 +++++++++++++++++
3 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.csproj
index b142acb797..5d9c353557 100644
--- a/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.csproj
+++ b/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.csproj
@@ -27,6 +27,12 @@
+
+
+
+
+
+
diff --git a/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj
index aefe39add4..c86bb5a1b3 100644
--- a/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj
+++ b/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj
@@ -839,9 +839,6 @@
-
-
-
@@ -851,6 +848,7 @@
+
diff --git a/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.csproj
index 02e66b7aee..c7e42bd800 100644
--- a/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.csproj
+++ b/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.csproj
@@ -21,11 +21,28 @@
+
+
+
+
+
+
+
+
+
+
+ $(MicrosoftDataSqlClientSniVersion)
+ All
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+