Skip to content

Commit 24e240e

Browse files
Consistency updates
1 parent a536885 commit 24e240e

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

BUILDGUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Tests can be built and run with custom Target Frameworks. See the below examples
177177

178178
Managed SNI can be enabled on Windows by enabling the below AppContext switch:
179179

180-
**"Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows"**
180+
**"Switch.Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows"**
181181

182182
## Set truncation on for scaled decimal parameters
183183

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParserStateObjectFactory.Windows.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ internal sealed class TdsParserStateObjectFactory
1111
{
1212
public static readonly TdsParserStateObjectFactory Singleton = new TdsParserStateObjectFactory();
1313

14-
private const string UseManagedNetworkingOnWindows = "Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows";
14+
private const string UseManagedNetworkingOnWindows = "Switch.Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows";
1515

1616
private static bool shouldUseManagedSNI;
1717

src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static class DataTestUtility
4343

4444
public const string UdtTestDbName = "UdtTestDb";
4545
public const string AKVKeyName = "TestSqlClientAzureKeyVaultProvider";
46-
private const string ManagedNetworkingAppContextSwitch = "Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows";
46+
private const string ManagedNetworkingAppContextSwitch = "Switch.Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows";
4747

4848
private static readonly string[] AzureSqlServerEndpoints = {".database.windows.net",
4949
".database.cloudapi.de",

tools/specs/Microsoft.Data.SqlClient.nuspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ When using NuGet 3.x this package requires at least version 3.4.</description>
6363
<dependency id="System.Memory" version="4.5.4" exclude="Compile" />
6464
<dependency id="System.Security.Principal.Windows" version="4.7.0" exclude="Compile" />
6565
<dependency id="System.Text.Encoding.CodePages" version="4.7.0" exclude="Compile" />
66-
<dependency id="System.Configuration.ConfigurationManager" version="4.7.0" exclude="Compile" />
6766
<dependency id="Microsoft.Identity.Client" version="4.7.1" exclude="Compile"/>
6867
<dependency id="Microsoft.IdentityModel.Protocols.OpenIdConnect" version="5.6.0" />
6968
<dependency id="Microsoft.IdentityModel.JsonWebTokens" version="5.6.0" />

0 commit comments

Comments
 (0)