Skip to content

Commit

Permalink
Add internal _UseManagedNtlm feature switch (#34903)
Browse files Browse the repository at this point in the history
  • Loading branch information
wfurt authored Aug 29, 2023
2 parents b3a780d + 9f43628 commit c4476b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Assets/TestProjects/KitchenSink/TestApp/TestApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<ThreadPoolMinThreads>2</ThreadPoolMinThreads>
<ThreadPoolMaxThreads>9</ThreadPoolMaxThreads>
<UseWindowsThreadPool>true</UseWindowsThreadPool>
<_UseManagedNtlm>true</_UseManagedNtlm>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,11 @@ Copyright (c) .NET Foundation. All rights reserved.
Value="$(UseNativeHttpHandler)"
Trim="true" />

<RuntimeHostConfigurationOption Include="System.Net.Security.UseManagedNtlm"
Condition="'$(_UseManagedNtlm)' != ''"
Value="$(_UseManagedNtlm)"
Trim="true" />

<RuntimeHostConfigurationOption Include="System.Reflection.Metadata.MetadataUpdater.IsSupported"
Condition="'$(MetadataUpdaterSupport)' != ''"
Value="$(MetadataUpdaterSupport)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public void It_publishes_the_project_correctly(string targetFramework, string[]
""System.GC.RetainVM"": false,
""System.Net.Http.EnableActivityPropagation"": false,
""System.Net.Http.UseNativeHttpHandler"": true,
""System.Net.Security.UseManagedNtlm"": true,
""System.Reflection.Metadata.MetadataUpdater.IsSupported"": false,
""System.Reflection.NullabilityInfoContext.IsSupported"": false,
""System.Resources.ResourceManager.AllowCustomResourceTypes"": false,
Expand Down

0 comments on commit c4476b9

Please sign in to comment.