Open dotMorten opened 3 years ago
Opened a corresponding internal work item: 36612456
@MikeHillberg @bpulliam @codendone FYI
Since this never got cleaned up before shipping, could you at least mark them Obsolete and hide them from Intellisense? Then we'd at least be warned about using stuff that can't be used.
Describe the bug
The
Dispatcher
property has been non-functional for a while now (always returns null), and instead we're told to change our code and useDispatcherQueue
.It's extremely error prone to still have this around - especially when trying to port a UWP or WPF app over, and we don't get compile time errors, but keep crashing with null reference exceptions instead. Could you please just remove it? (or even better keep it but replace it with the dispatcher queue so we don't have to change all our ported code just to use another type that serves the exact same purpose).
Steps to reproduce the bug
Expected behavior No non-functional APIs present.
Screenshots
Version Info
NuGet package version: [Microsoft.WindowsAppSDK 1.0.0-preview1]
Additional context