Describe the bug
If you add the WindowsAppSdk.Runtime for the packaging of a single project WPF app this works and produces an msix. However, adding Blazor Hybrid to solution seems to confuse Webview 2 and the components for Blazor Hybrid suddenly become unavailable.
Steps to reproduce the bug
- Setup a WPF single project msix app
 
- Add Blazor Hybrid (v9+)
 
Expected behavior
The app should build an MSIX.
Screenshots
No response
NuGet package version
Windows App SDK 1.8.2: 1.8.251003001
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 24H2 (26100, June 2025 Update)
IDE
Other, Visual Studio 2022
Additional context
No response