dotnet / dotnet/maui

[Maui Blazor] Disable automatic package import when using the Razor SDK as it breaks Razor Class Libraries

Open
#33,301 1 comment 0 reactions 0 assignees View on GitHub
area-blazor
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

https://github.com/dotnet/maui/issues/25999#issuecomment-3693107689

The workload changed to start bringing in the Webview.Maui package automatically which is designed for the final application and wreaks havoc when writing class libraries. Webview.Maui should be brought in explicitly by the app.

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by tracing the Razor SDK workload's automatic Webview.Maui package import, then verify that Razor Class Libraries no longer receive it implicitly while the final app can still bring it in explicitly. Use the linked discussion for the intended behavior and validation context.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.