Skip to content

[Bug]: RxUI 18.4.26: ObserveOnDispatcher missing #3505

@jasonwurzel

Description

@jasonwurzel

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

  1. git clone https://github.com/jasonwurzel/RxUI_ObserveOnDispatcherMissing
  2. main branch compiles
  3. switch to updated_rxui branch
  4. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions