Skip to content
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

Unable to use Source Generator in VSTO with WPF #9053

Open
Snailya opened this issue Apr 25, 2024 · 0 comments
Open

Unable to use Source Generator in VSTO with WPF #9053

Snailya opened this issue Apr 25, 2024 · 0 comments
Labels
Investigate Requires further investigation by the WPF team.

Comments

@Snailya
Copy link

Snailya commented Apr 25, 2024

Description

I want to use ReactiveMarbles.ObservableEvents.SourceGenerator in a VSTO project. The UI in the project is implemented using WPF. As long as a WPF User Control is added to the project, the project fails to build with an error: The type or namespace name 'ReactiveMarbles' could not be found (are you missing a using directive or an assembly reference?)

Reproduction Steps

  1. create an new Visio project with visual stuido
  2. add nuget package ReactiveMarbles.ObservableEvents.SourceGenerator
  3. add reference to presentationcore and presentationframework
  4. create a new window with sample code from https://www.reactiveui.net/docs/handbook/events.html
  5. add a new WPF User Control

Expected behavior

successful build

Actual behavior

The type or namespace name 'ReactiveMarbles' could not be found (are you missing a using directive or an assembly reference?)

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

.NET version: .NET framework 4.8

Other information

No response

@singhashish-wpf singhashish-wpf added the Investigate Requires further investigation by the WPF team. label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Investigate Requires further investigation by the WPF team.
Projects
None yet
Development

No branches or pull requests

2 participants