-
Notifications
You must be signed in to change notification settings - Fork 975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share System.Private.Windows.Core with WPF #12179
Comments
Would it be better to make System.Private.Windows.Core public but without a ref assembly instead of using It would then be "hidden" from projects referencing the WindowsDesktop pack but WPF would still be able to use it. AFAIK |
If WPF starts using |
Looks like that file (or the WindowsDesktop SDK) was refactored at some point, which lost the import and made the manual intervention necessary. This is wrong. Lines 1 to 24 in caf4fb9
The docs are here: https:/dotnet/winforms/tree/main/pkg/Microsoft.Private.Winforms#sdkdotnet-windowsdesktop-folder |
This core assembly has no dependencies. It provides helpful interop utilities and would allow sharing common functionality such as clipboard implementations.
As it is already available for WPF compilation, the initial plan is to add internals visible to for WPF assemblies and just consume it.
Vetting can be done by updating dotnet/wpf#7929 to use the shared code.
We'll likely want to move more CsWin32 imports and helper code down from System.Windows.Forms.Primitives.
The text was updated successfully, but these errors were encountered: