gix / PresentationTheme.Aero

A highly polished Windows Aero theme for WPF
https://gix.github.io/PresentationTheme.Aero/
MIT License
54 stars 6 forks source link

Fixes for .NET Core 3 compatibility #2

Closed wjk closed 5 years ago

wjk commented 5 years ago

Does mostly what the title says. Note that for some reason I have not yet determined (possibly due to https://github.com/dotnet/wpf/issues/110, but possibly not) AeroTheme.SetAsCurrentTheme() apparently does nothing when running on .NET Core 3. This PR simply adds the requisite code to the packaging system to allow successfully restoring this package in a .NET Core 3 project. You may want to consider this a work-in-progress until the above method is fixed. Thanks!

wjk commented 5 years ago

Unfortunately, changes in .NET Core WPF since I opened this PR have broken the private reflection used by ThemeManager. I have neither the time nor the experience to debug this. Therefore, I'm closing this PR.