ElectronNET/Electron.NET

Build error on fresh Blazor WebAssembly project

gnalvesteffer opened this issue · 0 comments

  • Version:
    ElectronNET.API 23.6.1
  • .NET Version:
    .NET 6.0
  • Target:
    Windows

Simply adding the ElectronNET.API nuget package to a new Blazor WebAssembly project results in the following build error:
[NETSDK1082] There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.

I'm fairly new to Blazor in general, so if this is just something simple I may have missed, please let me know.

Steps to Reproduce:

  1. Create a new Blazor WebAssembly project targeting .NET 6.0.
  2. Add the ElectronNET.API NuGet package.
  3. Build the project and encounter the error.