-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug]: CS0433 for DispatcherScheduler with 18.4.22 on net7.0-windows10.0.19041 #3493
Labels
Comments
Hi @Yarith thanks for raising this as a potential issue, I will take a look into this today and give you feedback on my findings. |
ChrisPulman
added a commit
that referenced
this issue
Mar 4, 2023
Fix for #3493 Added 19041 target as a workaround for System.Reactive targeting net5.0-windows10.0.19041.0 When 19041 is selected by the end user it causes the DispatcherScheduler in System.Reactive to be exposed and used.
2 tasks
2 tasks
Please update to version 18.4.25 to resolve this, thank you for raising this. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug 🐞
In projects which target
.net7.0-windows10.0.19041
you can not simply accessDispatcherScheduler
with the current version18.4.22
. It does not compile because following error gets produces:The last version which had worked was
18.4.1
. The new version is targeting .NET 7.0 and i wanted to test if #3432 does not happen anymore.With
net7.0-windows10.0.17763
it can compile the test project, described in the reproduction steps. For my real project i do need a higher version.Additionally with the update to Visual Studio 17.5.1, it has caused for me, that i can not even step while debugging, because it wants to apply code changes. Previously at least i could step but not change anything. I was hoping i could solve it with the update to the newest version, but sadly the project does not compile with the new version for me.
Step to reproduce
MainWindow.xaml.cs
file and add following usingusing System.Reactive.Concurrency;
.DispatcherScheduler.Current
in the constructor:Reproduction repository
https://github.com/reactiveui/ReactiveUI
Expected behavior
DispatcherScheduler
should still not have any conflict with theSystem.Reactive
package.Screenshots 🖼️
IDE
Visual Studio 2022
Operating system
Windows
Version
Windows 10 22H2 (Build 19045.2604), Visual Studio 17.5.1
Device
No response
ReactiveUI Version
18.4.22
Additional information ℹ️
No response
The text was updated successfully, but these errors were encountered: