ElectronNET.Host target framework not supported (.NET Framework 4.0) #860

Closed
opened 2026-01-29 16:50:27 +00:00 by claunia · 2 comments
Owner

Originally created by @r-pankevicius on GitHub (Mar 31, 2023).

OS: Win10
Visual Studio 2022 v 17.5.3

Cloned repo, tried to open ElectronNET.sln, the following message appears:
image

While .NET 4 is not cross platform compatible, just for Windows, it should be replaced with something else...

BTW what the purpose of ElectronNET.Host project?

Originally created by @r-pankevicius on GitHub (Mar 31, 2023). OS: Win10 Visual Studio 2022 v 17.5.3 Cloned repo, tried to open ElectronNET.sln, the following message appears: ![image](https://user-images.githubusercontent.com/1467109/229202625-4ae4695b-c021-4fb0-92d0-755970162ff3.png) While .NET 4 is not cross platform compatible, just for Windows, it should be replaced with something else... BTW what the purpose of ElectronNET.Host project?
claunia added the Feature label 2026-01-29 16:50:27 +00:00
Author
Owner

@FlorianRappl commented on GitHub (Apr 1, 2023):

BTW what the purpose of ElectronNET.Host project?

This is the actual host process (the one running in the Electron shell; that's why the project has JavaScript sources). From an architecture POV this is actually the most important piece as it allows Electron to communicate with .NET (and vice versa).

While .NET 4 is not cross platform compatible, just for Windows, it should be replaced with something else...

While true it also does not really matter - .NET 4 is anyway not used here. This is I guess just an historic artifact.

@FlorianRappl commented on GitHub (Apr 1, 2023): > BTW what the purpose of ElectronNET.Host project? This is the actual host process (the one running in the Electron shell; that's why the project has JavaScript sources). From an architecture POV this is actually the most important piece as it allows Electron to communicate with .NET (and vice versa). > While .NET 4 is not cross platform compatible, just for Windows, it should be replaced with something else... While true it also does not really matter - .NET 4 is anyway not used here. This is I guess just an historic artifact.
Author
Owner

@FlorianRappl commented on GitHub (Oct 31, 2025):

Outdated - use ElectronNET.Core and ElectronNET.Core.AspNet.

See Wiki / What's New.

@FlorianRappl commented on GitHub (Oct 31, 2025): Outdated - use `ElectronNET.Core` and `ElectronNET.Core.AspNet`. See [Wiki / What's New](https://github.com/ElectronNET/Electron.NET/wiki/What's-New).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#860