WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

Using the WindowsAppSdk for packaging in a single project wpf app with Blazor Hybrid doesn't compile

Open EddyHaigh opened this issue 2 months ago • 0 comments

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

  1. Setup a WPF single project msix app
  2. 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

EddyHaigh avatar Oct 30 '25 16:10 EddyHaigh