mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
.Net Standard Issue #358
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @donniefitz2 on GitHub (Jul 12, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
I'm trying to add ElectroNet to a new Blazor application (.net core 3.0 preview, client side only) and I'm getting the following error when attempting to restore the Nuget package:
ElectronNET.API 5.22.13 is not compatible with netstandard2.1 (.NETStandard,Version=v2.1). Package ElectronNET.API 5.22.13 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1)I get that my template is targeting netstandard2.1 and ElectronNet targets netcoreapp2.1 but shouldn't they be compatible?
This Blazor project file targets netstandard2.0 with the following csproj settings:
Thanks.
@robertmclaws commented on GitHub (Jul 23, 2019):
It looks like you're trying to add it to the Client app, not the Server app. Electron.NET + Blazor does not run in the Standalone Blazor template. The directions here should help get you going: https://github.com/CloudNimble/ElectronNET.Blazor
@GregorBiswanger commented on GitHub (Jul 26, 2019):
In the versioning of Electron.NET -> 5.22.XX is the support of Electron in version 5 and .NET Core in version 2.2. With the finished .NET Core 3.0 and Blazor we will offer full support when it's released.
@donniefitz2 commented on GitHub (Jul 29, 2019):
Thanks.