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

Only register Blazor Components when using FullDI #1040

Merged
merged 2 commits into from
May 17, 2021
Merged

Conversation

PureWeen
Copy link
Member

Description of Change

AddBlazorWebView registers the Extension Hosting Logging Factory that can only be instantiated via the Extension Hosting DI

So we need to not call AddBlazorWebView if we aren't using FullDI or the BlazorWebView

@PureWeen PureWeen requested review from Eilon and mattleibow May 17, 2021 20:14
Copy link
Member

@Eilon Eilon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the change can go in as-is, but left a comment as wel.

@PureWeen PureWeen merged commit 4d17f4e into main May 17, 2021
@PureWeen PureWeen deleted the fix_blazor_fulldi branch May 17, 2021 20:54
lytico pushed a commit to lytico/maui that referenced this pull request May 20, 2021
* Only register Blazor Components when using FullDI

* Update Startup.cs
@github-actions github-actions bot locked and limited conversation to collaborators Dec 26, 2023
@samhouts samhouts added the fixed-in-6.0.100-preview.5 Look for this fix in 6.0.100-preview.5! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-6.0.100-preview.5 Look for this fix in 6.0.100-preview.5! t/housekeeping ♻︎
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants