-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
area-System.Net.Securitydisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
We document this AppContext switch: https://learn.microsoft.com/en-us/dotnet/api/system.net.networkcredential?view=net-10.0
But then we hardcode a value at build time for anything that is trimmed, so it's impossible to actually set the AppContext switch directly:
runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets
Lines 59 to 60 in 2007805
| <!-- Trim managed NTLM on Linux when it's not explicitly requested --> | |
| <_UseManagedNtlm Condition="'$(_UseManagedNtlm)' == '' and $(RuntimeIdentifier.StartsWith('linux'))">false</_UseManagedNtlm> |
I'm going to disable test that was enabled in #123055 on this issue for native AOT because the test is still using native NTLM once trimmed and it's segfaulting in native AOT outerloop runs.
Ref #90957 that had a lot of discussion.
Metadata
Metadata
Assignees
Labels
area-System.Net.Securitydisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner