diff --git a/.gitignore b/.gitignore
index d2a25b6336..c2e6afabd4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,6 +53,9 @@ Generated\ Files/
TestResult.xml
nunit-*.xml
+# TRX format test results
+**/*.trx
+
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
@@ -365,4 +368,7 @@ MigrationBackup/
**/config.json
# Generated Milestone PR metadata files
-.milestone-prs/
\ No newline at end of file
+.milestone-prs/
+
+# MDS "Not Supported" GenAPI code
+**/notsupported/*.cs
diff --git a/build2.proj b/build2.proj
index 479d802f12..ec8b32b141 100644
--- a/build2.proj
+++ b/build2.proj
@@ -1,57 +1,400 @@
-
-
-
-
-
- Debug
-
-
-
-
-
-
-
-
-
-
-
-
-
- $(RepoRoot)src/Microsoft.Data.SqlClient/src/Microsoft.Data.SqlClient.csproj
-
-
-
-
-
-
-
-
-
- $(DotnetPath)dotnet build $(MdsProjectPath)
- -p:Configuration=$(Configuration)
- -p:TargetOs=Unix
-
-
- $([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))
-
-
-
-
-
-
-
-
-
- $(DotnetPath)dotnet build $(MdsProjectPath)
- -p:Configuration=$(Configuration)
- -p:TargetOs=Windows_NT
-
-
- $([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))
-
-
-
-
+
+
+
+
+
+
+
+ Debug
+
+
+
+
+
+
+
+ -p:AbstractionsPackageVersion=$(PackageVersionAbstractions)
+
+
+
+
+
+ -p:LoggingPackageVersion=$(PackageVersionLogging)
+
+
+
+
+
+ -p:MdsPackageVersion=$(PackageVersionMds)
+
+
+
+ Project
+
+ -p:ReferenceType=Package
+
+
+
+ 10m
+
+ --blame-hang
+ --blame-hang-dump-type full
+ --blame-hang-timeout $(TestBlameTimeout)
+
+
+
+ true
+
+ --collect "Code coverage"
+ --settings "$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/CodeCoverage.runsettings"
+
+
+
+ category!=failing&category!=flaky
+
+
+ --filter "$(TestFilters)"
+
+
+
+
+ -f $(TestFramework)
+
+
+ $(RepoRoot)test_results
+
+
+
+ -p:TestSet="$(TestSet)"
+
+
+
+
+
+
+ $(RepoRoot)src/Microsoft.Data.SqlClient/
+
+
+ $(RepoRoot)tools/specs/Microsoft.Data.SqlClient.nuspec
+ $(RepoRoot)tools/GenAPI/Microsoft.DotNet.GenAPI/
+ $(GenApiPath)Microsoft.DotNet.GenAPI.csproj
+
+
+ $(MdsRoot)tests/FunctionalTests/Microsoft.Data.SqlClient.FunctionalTests.csproj
+ $(MdsRoot)tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj
+ $(MdsRoot)notsupported/Microsoft.Data.SqlClient.csproj
+ $(MdsRoot)src/Microsoft.Data.SqlClient.csproj
+ $(MdsRoot)ref/Microsoft.Data.SqlClient.csproj
+ $(MdsRoot)tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj
+
+
+
+
+
+
+
+
+
+
+ "$(DotNetPath)dotnet" build "$(GenApiProjectPath)"
+ -p:Configuration=$(Configuration)
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(DotNetCommand), "\s+", " "))
+
+
+
+
+
+
+
+
+
+
+
+
+ "$(DotNetPath)dotnet" build "$(MdsNotSupportedProjectPath)"
+ -p:Configuration=$(Configuration)
+ -p:GenApiPath="@(GenApiArtifactPath->'%(FullPath)')"
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(DotNetCommand), "\s+", " "))
+
+
+
+
+
+
+
+
+
+
+ $(DotNetPath)dotnet build $(MdsRefProjectPath)
+ -p:Configuration=$(Configuration)
+ $(ReferenceTypeArgument)
+ $(PackageVersionAbstractionsArgument)
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(DotNetCommand), "\s+", " "))
+
+
+
+
+
+
+
+
+
+
+ $(DotNetPath)dotnet build $(MdsProjectPath)
+ -p:Configuration=$(Configuration)
+ -p:TargetOs=Unix
+
+
+ $(ReferenceTypeArgument)
+ $(PackageVersionAbstractionsArgument)
+ $(PackageVersionLoggingArgument)
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(DotNetCommand), "\s+", " "))
+
+
+
+
+
+
+
+
+
+
+ $(DotNetPath)dotnet build $(MdsProjectPath)
+ -p:Configuration=$(Configuration)
+ -p:TargetOs=Windows_NT
+
+
+ $(ReferenceTypeArgument)
+ $(PackageVersionAbstractionsArgument)
+ $(PackageVersionLoggingArgument)
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(DotNetCommand), "\s+", " "))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MdsFunctional-$(OS)
+ $(LogFilePrefix)-$(TestFramework)
+
+
+ $(DotNetPath)dotnet test "$(MdsFunctionalTestProjectPath)"
+ -p:Configuration=$(Configuration)
+ $(TestBlameArgument)
+ $(TestCollectArgument)
+ $(TestFiltersArgument)
+ $(TestFrameworkArgument)
+ --results-directory "$(TestResultsFolderPath)"
+ --logger:"trx;LogFilePrefix=$(LogFilePrefix)"
+
+
+ $(ReferenceTypeArgument)
+ $(PackageVersionAbstractionsArgument)
+ $(PackageVersionLoggingArgument)
+ $(PackageVersionMdsArgument)
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(DotNetCommand), "\s+", " "))
+
+
+
+
+
+
+
+
+ MdsManual-$(OS)
+ $(LogFilePrefix)-$(TestFramework)
+ $(LogFilePrefix)-$(TestSet)
+
+
+ $(DotNetPath)dotnet test "$(MdsManualTestProjectPath)"
+ -p:Configuration=$(Configuration)
+ $(TestBlameArgument)
+ $(TestCollectArgument)
+ $(TestFiltersArgument)
+ $(TestFrameworkArgument)
+ $(TestSetArgument)
+ --results-directory "$(TestResultsFolderPath)"
+ --logger:"trx;LogFilePrefix=$(LogFilePrefix)"
+
+
+ $(ReferenceTypeArgument)
+ $(PackageVersionAbstractionsArgument)
+ $(PackageVersionLoggingArgument)
+ $(PackageVersionMdsArgument)
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(DotNetCommand), "\s+", " "))
+
+
+
+
+
+
+
+
+
+ MdsUnit-$(OS)
+ $(LogFilePrefix)-$(TestFramework)
+
+
+ $(DotNetPath)dotnet test "$(MdsUnitTestProjectPath)"
+ -p:Configuration=$(Configuration)
+ $(TestBlameArgument)
+ $(TestCollectArgument)
+ $(TestFiltersArgument)
+ $(TestFrameworkArgument)
+ --results-directory "$(TestResultsFolderPath)"
+ --logger:"trx;LogFilePrefix=$(LogFilePrefix)"
+
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(DotNetCommand), "\s+", " "))
+
+
+
+
diff --git a/src/Microsoft.Data.SqlClient.Extensions/Azure/test/Azure.Test.csproj b/src/Microsoft.Data.SqlClient.Extensions/Azure/test/Azure.Test.csproj
index 2182b21680..7d2a0c56a5 100644
--- a/src/Microsoft.Data.SqlClient.Extensions/Azure/test/Azure.Test.csproj
+++ b/src/Microsoft.Data.SqlClient.Extensions/Azure/test/Azure.Test.csproj
@@ -1,44 +1,45 @@
-
+
- net462;net8.0;net9.0;net10.0
+ Microsoft.Data.SqlClient.Extensions.Azure.Test
+ Microsoft.Data.SqlClient.Extensions.Azure.Test
+
enable
+ true
enable
false
- true
- Microsoft.Data.SqlClient.Extensions.Azure.Test
+
Category!=Interactive
-
-
-
+
+
+ net8.0;net9.0;net10.0
-
-
-
-
-
-
-
+
+ $(TargetFrameworks);net462
+
+
-
+
PreserveNewest
@@ -46,17 +47,25 @@
-
+
+
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
-
-
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Microsoft.Data.SqlClient.sln b/src/Microsoft.Data.SqlClient.sln
index f1794cdb41..636064e61a 100644
--- a/src/Microsoft.Data.SqlClient.sln
+++ b/src/Microsoft.Data.SqlClient.sln
@@ -379,6 +379,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Data.SqlClient",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Data.SqlClient", "Microsoft.Data.SqlClient\src\Microsoft.Data.SqlClient.csproj", "{AA77C107-9A78-4A99-98BB-21FF7A1E0B01}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "notsupported", "notsupported", "{351BE847-A0BF-450C-A5BC-8337AFA49EAA}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Data.SqlClient", "Microsoft.Data.SqlClient\notsupported\Microsoft.Data.SqlClient.csproj", "{1DB299CE-95EA-4566-84DD-171768758291}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.DotNet.GenAPI", "..\tools\GenAPI\Microsoft.DotNet.GenAPI\Microsoft.DotNet.GenAPI.csproj", "{583E2B51-A90B-4F34-AD8B-4061504E855E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Cci.Extensions", "..\tools\GenAPI\Microsoft.Cci.Extensions\Microsoft.Cci.Extensions.csproj", "{2F900B8A-EA19-4274-9AE9-3E6A59856FCC}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -791,6 +799,24 @@ Global
{AA77C107-9A78-4A99-98BB-21FF7A1E0B01}.Release|x64.Build.0 = Release|Any CPU
{AA77C107-9A78-4A99-98BB-21FF7A1E0B01}.Release|x86.ActiveCfg = Release|Any CPU
{AA77C107-9A78-4A99-98BB-21FF7A1E0B01}.Release|x86.Build.0 = Release|Any CPU
+ {1DB299CE-95EA-4566-84DD-171768758291}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1DB299CE-95EA-4566-84DD-171768758291}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {1DB299CE-95EA-4566-84DD-171768758291}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {1DB299CE-95EA-4566-84DD-171768758291}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1DB299CE-95EA-4566-84DD-171768758291}.Release|x64.ActiveCfg = Release|Any CPU
+ {1DB299CE-95EA-4566-84DD-171768758291}.Release|x86.ActiveCfg = Release|Any CPU
+ {583E2B51-A90B-4F34-AD8B-4061504E855E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {583E2B51-A90B-4F34-AD8B-4061504E855E}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {583E2B51-A90B-4F34-AD8B-4061504E855E}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {583E2B51-A90B-4F34-AD8B-4061504E855E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {583E2B51-A90B-4F34-AD8B-4061504E855E}.Release|x64.ActiveCfg = Release|Any CPU
+ {583E2B51-A90B-4F34-AD8B-4061504E855E}.Release|x86.ActiveCfg = Release|Any CPU
+ {2F900B8A-EA19-4274-9AE9-3E6A59856FCC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2F900B8A-EA19-4274-9AE9-3E6A59856FCC}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {2F900B8A-EA19-4274-9AE9-3E6A59856FCC}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {2F900B8A-EA19-4274-9AE9-3E6A59856FCC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2F900B8A-EA19-4274-9AE9-3E6A59856FCC}.Release|x64.ActiveCfg = Release|Any CPU
+ {2F900B8A-EA19-4274-9AE9-3E6A59856FCC}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -866,6 +892,10 @@ Global
{020A7E7B-04C9-4326-985F-045B42CC2200} = {7289C27E-D7DF-2C71-84B4-151F3A162493}
{D433ED2D-5E47-4A4B-B94A-EC71482715C7} = {020A7E7B-04C9-4326-985F-045B42CC2200}
{AA77C107-9A78-4A99-98BB-21FF7A1E0B01} = {2B71F605-037E-5629-6E23-0FA3C297446D}
+ {351BE847-A0BF-450C-A5BC-8337AFA49EAA} = {7289C27E-D7DF-2C71-84B4-151F3A162493}
+ {1DB299CE-95EA-4566-84DD-171768758291} = {351BE847-A0BF-450C-A5BC-8337AFA49EAA}
+ {583E2B51-A90B-4F34-AD8B-4061504E855E} = {351BE847-A0BF-450C-A5BC-8337AFA49EAA}
+ {2F900B8A-EA19-4274-9AE9-3E6A59856FCC} = {351BE847-A0BF-450C-A5BC-8337AFA49EAA}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {01D48116-37A2-4D33-B9EC-94793C702431}
diff --git a/src/Microsoft.Data.SqlClient/notsupported/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/notsupported/Microsoft.Data.SqlClient.csproj
new file mode 100644
index 0000000000..065e10dcd3
--- /dev/null
+++ b/src/Microsoft.Data.SqlClient/notsupported/Microsoft.Data.SqlClient.csproj
@@ -0,0 +1,211 @@
+
+
+
+
+
+ Microsoft.Data.SqlClient
+ net462;net8.0;net9.0;netstandard2.0
+
+
+ false
+
+
+ $(NoWarn);CS0618
+
+
+
+
+
+ $(RepoRoot)artifacts/$(AssemblyName).notsupported/$(Configuration)/
+
+
+
+
+
+ $(RepoRoot)src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.csproj
+ $(RepoRoot)artifacts/Microsoft.Data.SqlClient.ref/$(Configuration)/$(TargetFramework)/Microsoft.Data.SqlClient.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(AssemblyName).$(TargetFramework).notsupported.cs
+
+
+
+
+
+
+
+
+
+
+ <_referencePathDirectoriesWithDuplicates
+ Include="@(ReferencePath->'%(RootDir)%(Directory)'->TrimEnd('\'))" />
+ <_referencePathDirectories
+ Include="%(_referencePathDirectoriesWithDuplicates.Identity)" />
+
+
+
+
+
+ $(DotnetPath)dotnet "$(GenApiPath)"
+ $(RefArtifactPath)
+ -l:"@(_referencePathDirectories)"
+ -o:"$(NotSupportedSourceFile)"
+ -t:"Microsoft.Data.SqlClient is not supported on this platform."
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(GenApiCommand), "\s+", " "))
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.csproj
index 41b4df05ab..447fb01182 100644
--- a/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.csproj
+++ b/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.csproj
@@ -11,6 +11,49 @@
+
+
+
+
+
+
+ $(RepoRoot)artifacts/
+
+
+ $(ArtifactPath)$(AssemblyName).ref/$(Configuration)/
+
+
+
+
+
+
+
+ powershell.exe
+ pwsh
+
+ $(PowerShellCommand)
+ -NonInteractive
+ -ExecutionPolicy Unrestricted
+ -Command "$(RepoRoot)tools\intellisense\TrimDocs.ps1 -inputFile '$(OutputPath)\Microsoft.Data.SqlClient.xml' -outputFile '$(OutputPath)\Microsoft.Data.SqlClient.xml'"
+
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(PowerShellCommand), "\s+", " "))
+
+
+
+
+
+
diff --git a/src/Microsoft.Data.SqlClient/src/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/src/Microsoft.Data.SqlClient.csproj
index 2e9045ee83..4fbe15bd1b 100644
--- a/src/Microsoft.Data.SqlClient/src/Microsoft.Data.SqlClient.csproj
+++ b/src/Microsoft.Data.SqlClient/src/Microsoft.Data.SqlClient.csproj
@@ -14,36 +14,26 @@
-
+
+
+
<_Parameter1>UnitTests
-
-
- net462;net8.0;net9.0
-
-
-
-
- Windows_NT
+
+
$(OS)
-
+
+
+
+
+
@@ -55,6 +45,15 @@
$(DefineConstants);_WINDOWS
+
+
+ net8.0;net9.0
+
+
+
+ $(TargetFrameworks);net462
+
+
diff --git a/src/Microsoft.Data.SqlClient/tests/Common/Microsoft.Data.SqlClient.TestCommon.csproj b/src/Microsoft.Data.SqlClient/tests/Common/Microsoft.Data.SqlClient.TestCommon.csproj
index f648a68ab9..eab4f0493c 100644
--- a/src/Microsoft.Data.SqlClient/tests/Common/Microsoft.Data.SqlClient.TestCommon.csproj
+++ b/src/Microsoft.Data.SqlClient/tests/Common/Microsoft.Data.SqlClient.TestCommon.csproj
@@ -5,7 +5,16 @@
enable
+
+
+ net8.0;net9.0;net10.0
+
+ $(TargetFrameworks);net462
+
diff --git a/src/Microsoft.Data.SqlClient/tests/CustomConfigurableRetryLogic/CustomRetryLogicProvider.csproj b/src/Microsoft.Data.SqlClient/tests/CustomConfigurableRetryLogic/CustomRetryLogicProvider.csproj
index f3f45a0a65..bdbdeafe53 100644
--- a/src/Microsoft.Data.SqlClient/tests/CustomConfigurableRetryLogic/CustomRetryLogicProvider.csproj
+++ b/src/Microsoft.Data.SqlClient/tests/CustomConfigurableRetryLogic/CustomRetryLogicProvider.csproj
@@ -4,6 +4,17 @@
ExternalConfigurableRetryLogic
+
+
+ net8.0;net9.0;net10.0
+
+
+ $(TargetFrameworks);net462
+
+
-
-
-
-
-
-
- $(OS)
- true
- true
- Debug;Release;
- AnyCPU;x86;x64
-
-
-
-
- net462
- net8.0;net9.0;net10.0
-
-
-
-
-
-
- $(TargetNetCoreVersion);$(TargetNetFxVersion)
- $(TargetNetCoreVersion);
-
-
-
-
-
- $(TargetNetCoreVersion)
- $(TargetNetFxVersion)
-
-
-
-
-
-
-
- PreserveNewest
- CodeCoverage.runsettings
-
-
- PreserveNewest
- xunit.runner.json
-
-
-
diff --git a/src/Microsoft.Data.SqlClient/tests/FunctionalTests/Microsoft.Data.SqlClient.FunctionalTests.csproj b/src/Microsoft.Data.SqlClient/tests/FunctionalTests/Microsoft.Data.SqlClient.FunctionalTests.csproj
index ec13e9a857..9a94a253d2 100644
--- a/src/Microsoft.Data.SqlClient/tests/FunctionalTests/Microsoft.Data.SqlClient.FunctionalTests.csproj
+++ b/src/Microsoft.Data.SqlClient/tests/FunctionalTests/Microsoft.Data.SqlClient.FunctionalTests.csproj
@@ -6,6 +6,17 @@
true
+
+
+ net8.0;net9.0;net10.0
+
+
+ $(TargetFrameworks);net462
+
+
@@ -27,6 +38,15 @@
Always
+
+ PreserveNewest
+ xunit.runner.json
+
+
+
+ PreserveNewest
+ CodeCoverage.runsettings
+
diff --git a/src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj b/src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj
index 7ae352c028..a4924c9219 100644
--- a/src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj
+++ b/src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj
@@ -9,6 +9,17 @@
false
+
+
+ net8.0;net9.0;net10.0
+
+
+ $(TargetFrameworks);net462
+
+
@@ -57,6 +68,15 @@
CopyToOutputDirectory="PreserveNewest" />
+
+
+ PreserveNewest
+ xunit.runner.json
+
+
+ PreserveNewest
+ CodeCoverage.runsettings
+
@@ -384,10 +404,10 @@
-
-
+
+
diff --git a/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Address/Address.csproj b/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Address/Address.csproj
index 0ef316f6db..5fb901fac6 100644
--- a/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Address/Address.csproj
+++ b/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Address/Address.csproj
@@ -8,6 +8,18 @@
$(ObjFolder)$(Configuration).$(Platform)\$(AssemblyName)
$(BinFolder)$(Configuration).$(Platform)\$(AssemblyName)
+
+
+
+ net8.0;net9.0;net10.0
+
+
+ $(TargetFrameworks);net462
+
+
diff --git a/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Circle/Circle.csproj b/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Circle/Circle.csproj
index dbd175305d..219d3cf3f1 100644
--- a/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Circle/Circle.csproj
+++ b/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Circle/Circle.csproj
@@ -8,6 +8,18 @@
$(ObjFolder)$(Configuration).$(Platform)\$(AssemblyName)
$(BinFolder)$(Configuration).$(Platform)\$(AssemblyName)
+
+
+
+ net8.0;net9.0;net10.0
+
+
+ $(TargetFrameworks);net462
+
+
diff --git a/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Shapes/Shapes.csproj b/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Shapes/Shapes.csproj
index ccd8342e17..2a2c902404 100644
--- a/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Shapes/Shapes.csproj
+++ b/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Shapes/Shapes.csproj
@@ -8,6 +8,18 @@
$(ObjFolder)$(Configuration).$(Platform)\$(AssemblyName)
$(BinFolder)$(Configuration).$(Platform)\$(AssemblyName)
+
+
+
+ net8.0;net9.0;net10.0
+
+
+ $(TargetFrameworks);net462
+
+
diff --git a/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Utf8String/Utf8String.csproj b/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Utf8String/Utf8String.csproj
index c1031bbaac..be4b202d51 100644
--- a/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Utf8String/Utf8String.csproj
+++ b/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/UdtTest/UDTs/Utf8String/Utf8String.csproj
@@ -8,6 +8,18 @@
$(ObjFolder)$(Configuration).$(Platform)\$(AssemblyName)
$(BinFolder)$(Configuration).$(Platform)\$(AssemblyName)
+
+
+
+ net8.0;net9.0;net10.0
+
+
+ $(TargetFrameworks);net462
+
+
diff --git a/src/Microsoft.Data.SqlClient/tests/StressTests/Directory.Build.props b/src/Microsoft.Data.SqlClient/tests/StressTests/Directory.Build.props
index c26651ba7d..49b7a47634 100644
--- a/src/Microsoft.Data.SqlClient/tests/StressTests/Directory.Build.props
+++ b/src/Microsoft.Data.SqlClient/tests/StressTests/Directory.Build.props
@@ -11,7 +11,13 @@
$(MSBuildThisFileDirectory)
- net462;net8.0;net9.0;net10.0
+ net8.0;net9.0;net10.0
+
+
+ $(TargetFrameworks);net462
+
+ net8.0;net9.0;net10.0
+
+
+ $(TargetFrameworks);net462
+
+
@@ -19,6 +30,14 @@
True
Resources.resx
+
+ PreserveNewest
+ xunit.runner.json
+
+
+ PreserveNewest
+ CodeCoverage.runsettings
+
diff --git a/src/Microsoft.Data.SqlClient/tests/tools/Directory.Build.props b/src/Microsoft.Data.SqlClient/tests/tools/Directory.Build.props
deleted file mode 100644
index abbaa56026..0000000000
--- a/src/Microsoft.Data.SqlClient/tests/tools/Directory.Build.props
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.EndPoint/TDS.EndPoint.csproj b/src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.EndPoint/TDS.EndPoint.csproj
index cae90f7473..a90ef98be2 100644
--- a/src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.EndPoint/TDS.EndPoint.csproj
+++ b/src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.EndPoint/TDS.EndPoint.csproj
@@ -40,13 +40,19 @@
-
+
+
+
-
+
+
+
+
+
TDS
diff --git a/tools/GenAPI/Microsoft.Cci.Extensions/Microsoft.Cci.Extensions.csproj b/tools/GenAPI/Microsoft.Cci.Extensions/Microsoft.Cci.Extensions.csproj
index 3c8676acac..5aa4e28584 100644
--- a/tools/GenAPI/Microsoft.Cci.Extensions/Microsoft.Cci.Extensions.csproj
+++ b/tools/GenAPI/Microsoft.Cci.Extensions/Microsoft.Cci.Extensions.csproj
@@ -7,7 +7,6 @@
8.0
true
true
- $(ToolsArtifactsDir)
diff --git a/tools/GenAPI/Microsoft.DotNet.GenAPI/Microsoft.DotNet.GenAPI.csproj b/tools/GenAPI/Microsoft.DotNet.GenAPI/Microsoft.DotNet.GenAPI.csproj
index 1ee92e1808..4ec9283d9d 100644
--- a/tools/GenAPI/Microsoft.DotNet.GenAPI/Microsoft.DotNet.GenAPI.csproj
+++ b/tools/GenAPI/Microsoft.DotNet.GenAPI/Microsoft.DotNet.GenAPI.csproj
@@ -1,25 +1,30 @@
-
Exe
- net472;net8.0
true
MSBuildSdk
false
true
$(NoWarn);0436
- $(ToolsArtifactsDir)
+
+
+
+ net10.0
+
+
+
+
+
-
-
-
-
-
diff --git a/tools/targets/NotSupported.targets b/tools/targets/NotSupported.targets
index c200014ada..10900e76be 100644
--- a/tools/targets/NotSupported.targets
+++ b/tools/targets/NotSupported.targets
@@ -38,15 +38,24 @@
- "%(ResolvedMatchingContract.Identity)"
- $(GenAPIArgs) -l:"@(_referencePathDirectories)"
- $(GenAPIArgs) -o:"$(NotSupportedSourceFile)"
- $(GenAPIArgs) -t:"$(GeneratePlatformNotSupportedAssemblyMessage)"
- $(GenAPIArgs) -global
- "$(DotnetPath)dotnet" "$(ToolsArtifactsDir)net8.0/Microsoft.DotNet.GenAPI.dll"
- "$(ToolsArtifactsDir)net472\Microsoft.DotNet.GenAPI.exe"
+ $(RepoRoot)tools/GenAPI/Microsoft.DotNet.GenAPI/bin/$(Configuration)/net10.0/
+
+ "$(DotnetPath)dotnet" $(GenApiPath)Microsoft.DotNet.GenAPI.dll
+ "%(ResolvedMatchingContract.Identity)"
+ -l:"@(_referencePathDirectories)"
+ -o:"$(NotSupportedSourceFile)"
+
+
+ $(GenApiCommand)
+ -t:"$(GeneratePlatformNotSupportedAssemblyMessage)"
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(GenApiCommand), "\s+", " "))
-
+
+
+
+