Skip to content

[Bug]: WPF ViewModelViewHost : XDG0003 ILogManager is null. This should never happen, your dependency resolver is broken #4178

@MatoChan

Description

@MatoChan

Describe the bug 🐞

VisualStudio DesignMode error. ViewModelViewHost error : XDG0003 "ILogManager is null. This should never happen, your dependency resolver is broken"
It seem there is a call to Splat.AppLogger without initialization in design mode.
Problematic version is 21.0.1 of ReactiveUI.Wpf. Older versions are OK.

Step to reproduce

  1. Create WPF Application net8.0-windows10.0.19041.0
  2. Add NuGet ReactiveUI.Wpf version 21.0.1
  3. Use ViewModelViewHost in MainWIndow
  4. Compile

Reproduction repository

No response

Expected behavior

This should happen...

Screenshots 🖼️

No response

IDE

Visual Studio 2022

Operating system

Windows

Version

No response

Device

No response

ReactiveUI Version

No response

Additional information ℹ️

No response

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