Skip to content

ReactiveUI.WinUI not found. #3847

Closed Answered by dpvreony
Haale asked this question in Q&A
Jun 27, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

take a look at

#3786 (comment)

see if the following workaround prevents the issue. you need one of these in app initialisation before ReactiveUI is called.

if you're not doing any custom Splat DI config.

ReactiveUI.PlatformRegistrationManager.SetRegistrationNamespaces(RegistrationNamespace.WinUI);

if you're doing any custom config to Splat etc. you'll need something along the lines of. (you might want this version anyway so it's clearer when ReactiveUI is being set up)

Locator.CurrentMutable.InitializeSplat();
Locator.CurrentMutable.InitializeReactiveUI(RegistrationNamespace.WinUI); 

If the Assembly scanning is the issue, this should prevent it.

you'll want to use RegistrationNamespac…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Haale
Comment options

Answer selected by Haale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants