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

Build error on fresh Blazor WebAssembly project #789

Open
gnalvesteffer opened this issue Jun 29, 2023 · 1 comment
Open

Build error on fresh Blazor WebAssembly project #789

gnalvesteffer opened this issue Jun 29, 2023 · 1 comment
Labels

Comments

@gnalvesteffer
Copy link

gnalvesteffer commented Jun 29, 2023

  • 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.
@giovanni-a
Copy link

Did anyone have any luck running Electron.NET with a Blazor WebAssembly project? All the tutorials that I have found seem to be for Blazor Server. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants