-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Describe the bug 🐞
just updated my project from RxUI 18.4.25 to 18.4.26 and got compilation errors, because ObserveOnDispatcher is no longer present.
Project is WPF + net7.0-windows10.0.17763.0
Step to reproduce
- git clone https://github.com/jasonwurzel/RxUI_ObserveOnDispatcherMissing
- main branch compiles
- switch to updated_rxui branch
- compile errors
Reproduction repository
https://github.com/jasonwurzel/RxUI_ObserveOnDispatcherMissing
Expected behavior
There should be no breaking change updating from 18.4.25 to 18.4.26
Screenshots 🖼️
No response
IDE
No response
Operating system
Windows 11
Version
No response
Device
No response
ReactiveUI Version
18.4.26
Additional information ℹ️
Looking at the only change that happened in #3497 , it is totally logical because of this section in ReactiveUI.Wpf.csproj:
<ItemGroup Condition=" $(TargetFramework) == 'net462' or $(TargetFramework.StartsWith('net6.0-windows')) or $(TargetFramework.StartsWith('net7.0-windows')) ">
<Compile Include="..\ReactiveUI.Uwp\Rx\Internal\Constants.cs" LinkBase="Rx" />
<Compile Include="..\ReactiveUI.Uwp\Rx\Linq\**\*.cs" LinkBase="Rx" Exclude="..\ReactiveUI.Uwp\Rx\Linq\*Observable.cs" />
</ItemGroup>That means the static class named DispatcherObservable containing SubscribeOnDispatcher is no longer included.
Or am I missing something here?