Skip to content
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

Implement a CoreDispatcherScheduler equivalence for Windows .NET 6 #50

Open
GabrielChouinardLetourneau opened this issue Oct 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@GabrielChouinardLetourneau
Copy link
Contributor

Expected Behavior

We need an implementation for net6.0-windows10.0.18362 similar to what is in MainDispatcherScheduler.UWP.cs

Actual Behavior

The MainDispatcherScheduler.Windows.cs only has similar logic (ScheduleCore) to the iOS, Android and WebAssembly files. At the moment, if we try to replicate the UWP file with the .NET 6 Windows target, we get compile errors like this: error CS0246: The type or namespace name 'CoreDispatcherScheduler' could not be found in .net-5.0 which was supposedly a known issue, since then System.Reactive hasn't been updated at all and plan on any .net-6.0 targets seem to be uncertain.

Steps to Reproduce the Problem

  1. Remove the WINDOWS10_0_18362_0 condition in the top of the MainDispatcherScheduler file.
  2. Copy and paste the content from MainDispatcherScheduler.UWP.cs into the Windows file.
  3. Change the Windows namespace to Microsoft.
  4. Inspect the remaining errors.

Specifications

@carlh98 carlh98 added the enhancement New feature or request label Oct 11, 2022
@GabrielChouinardLetourneau GabrielChouinardLetourneau changed the title Implement an CoreDispatcherScheduler equivalence for Windows .NET 6 Implement a CoreDispatcherScheduler equivalence for Windows .NET 6 Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants