Skip to content

[Bug]: Projects referencing projects using ReactiveUI.SourceGenerators failing to build #382

@MartinFayRAX

Description

@MartinFayRAX

Describe the bug 🐞

I've just noticed a build problem when a library-not-referencing-RxUI (Library1) references once which does i.e.:
Application (references ReactiveUI.WPF)
|
Library1 (doesn't reference ReactiveUI.WPF) <- And when I add a reference to RxUI it works!
|
Library2 (references ReactiveUI.WPF)

The produces error CS0400:
"The type or namespace name 'Splat' could not be found in the global namespace (are you missing an assembly reference?)"

(And NCrunch output references IViewForGenerator)

Step to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Reproduction repository

https://github.com/reactiveui/ReactiveUI

Expected behavior

This should happen...

Screenshots 🖼️

No response

IDE

No response

Operating system

No response

Version

No response

Device

No response

ReactiveUI Version

No response

Additional information ℹ️

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions