Skip to content

Expose platform specific assemblies which are already exposed in the runtime pack in the targeting pack #53892

Closed
@ViktorHofer

Description

@ViktorHofer

There are five assemblies which are currently not exposed in the .NETCoreApp targeting pack because they are platform specific (Windows):

<NetCoreAppLibraryNoReference>
Microsoft.Win32.Registry;
System.IO.FileSystem.AccessControl;
System.IO.Pipes.AccessControl;
System.Security.AccessControl;
System.Security.Principal.Windows;
</NetCoreAppLibraryNoReference>

As the platform analyzers warns for usages of APIs which aren't available on specific platforms, it should be considered to expose the few missing reference assemblies which are already part of the runtime pack. The big benefit of doing so is that customers don't need to reference the corresponding packages to target these APIs and that their packages can be dead-ended as their APIs are de-facto frozen.

Discussed this with @ericstj and @terrajobst and they supportive. Ideally we would like to get this into Preview 6 which means we would want to reach consensus sooner than later. Thoughts on this?

cc @adamsitnik @carlossanlop @jozkee @jeffhandley for System.IO.FileSystem.AccessControl and System.IO.Pipes.AccessControl
cc @bartonjs @GrabYourPitchforks @jeffhandley for System.Security.AccessControl and System.Security.Principal.Windows
cc @Anipik and myself for Microsoft.Win32.Registry

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions