You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should we add System.Threading.AccessControl to the base shared framework #115961
It's been part of WindowsDesktop since the beginning. With #110416 it was added to AspNetCore.
Most other *AccessControl libraries in the base shared frammework:
System.IO.FileSystem.AccessControl
System.IO.Pipes.AccessControl
System.Security.AccessControl
@ViktorHofer - I started looking at this and was thinking the following.
Add the library to the base shared framework. Remove from aspnetcore and windows desktop.
Remove package references to it when targeting .NET 10.0.
Don't yet remove the package, since we're still building other packages which will depend on a supported implementation for older frameworks (net8.0, net9.0).
First thing in .NET 11 stop producing the package.
Does this sound right? I don't think we can remove the package now and reference the 9.0 version since that might go out of support before other frameworks and it carries an implementation for net8 and net9.
I'm supportive of this change. It will reduce necessary package downloads when using the base shared framework and depending on the library's API set. It will also simplify our own infrastructure (it's one of those packages that use a TPM with the PNSE infrastructure that hinders switching to compiler generated XML).
I started looking at this and was thinking the following.
Sounds right to me. Note that the PackageOverrides.txt data is still not auto-generated so you probably want to add that to the above list. Let's remove the package with .NET 11 then 👍
Moving them into the core shared runtime seems fine. When .NET EvenCorer happens in another 5-10 years maybe we'll undo this layering change and just accept the PNSEs on non-Windows 😄
changed the title [-]Should we add System.ThreadingAccessControl to the base shared framework[/-][+]Should we add System.Threading.AccessControl to the base shared framework[/+]on Jun 17, 2025
Activity
dotnet-policy-service commentedon May 25, 2025
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.
JeremyKuhne commentedon May 27, 2025
@ericstj Seems like a sensible simplification.
ericstj commentedon May 28, 2025
@ViktorHofer - I started looking at this and was thinking the following.
net8.0,net9.0).Does this sound right? I don't think we can remove the package now and reference the 9.0 version since that might go out of support before other frameworks and it carries an implementation for net8 and net9.
ViktorHofer commentedon May 28, 2025
I'm supportive of this change. It will reduce necessary package downloads when using the base shared framework and depending on the library's API set. It will also simplify our own infrastructure (it's one of those packages that use a TPM with the PNSE infrastructure that hinders switching to compiler generated XML).
Sounds right to me. Note that the PackageOverrides.txt data is still not auto-generated so you probably want to add that to the above list. Let's remove the package with .NET 11 then 👍
bartonjs commentedon Jun 2, 2025
Moving them into the core shared runtime seems fine. When .NET EvenCorer happens in another 5-10 years maybe we'll undo this layering change and just accept the PNSEs on non-Windows 😄
[-]Should we add System.ThreadingAccessControl to the base shared framework[/-][+]Should we add System.Threading.AccessControl to the base shared framework[/+]ericstj commentedon Jun 17, 2025
We already accept PNSEs, you mean removing all the extensions and putting back the API on the original types?