[PR #893] ElectronNET.Core:: Taking it to the Next Leve #1337

Open
opened 2026-01-29 16:59:44 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/ElectronNET/Electron.NET/pull/893

State: closed
Merged: Yes


This PR includes all the the changes that have been discussed in Taking it to the Next Level!

I haven't updated any documentation yet. This PR - for now - is focused on getting everybody a quick start without much hazzle. I have even checked in the current nuget packages, in order to get the hurdle of building and consuming out of the way.

Quick Start Instructions

Warning

IMPORTANT: You must do a fresh checkout. Either clone into a new directory or - after checking out the branch, delete ALL files in the repo except the .git folder and then do a git reset.

  • Then, open the solution in Visual Studio
  • In Solution Explorer, expand: ElectronNET.WebApp >> Dependencies >> npm (ElectronHostHook....)
  • Right-click and choose "Restore", wait a few moments
  • Rebuild the solution
  • Ensure ElectronNET.WebApp is the startup project
  • Start debugging (F5 or click 'ASP.Net (unpackaged)'

Run on WSL

Prerequisites

  • Node 22 LTS needs to be installed
  • .NET8 SDK needs to be installed
    (but I think the ASP.Net core framework does the installation automatically when you start debugging)

To launch Debugging on WSL

  • Open the project properties for the ElectronNET.WebApp
  • After electron and builder version selection, find the "Target Runtime Identifier" and select linux-x64
  • From the dropdown button for debug target selection (with the green 'play' icon) select WSL
  • Click it

Creating Packages

  • Right-click project
  • Choose "Publish"
  • Choose one of the existing publish profiles (win-x64 or linux-x64) from the selection at the top
  • Hit "Publish"

Please let me know how it works for you

Enjoy!

**Original Pull Request:** https://github.com/ElectronNET/Electron.NET/pull/893 **State:** closed **Merged:** Yes --- This PR includes all the the changes that have been discussed in [Taking it to the Next Level!](https://github.com/ElectronNET/Electron.NET/issues/872) I haven't updated any documentation yet. This PR - for now - is focused on getting everybody a quick start without much hazzle. I have even checked in the current nuget packages, in order to get the hurdle of building and consuming out of the way. ## Quick Start Instructions > [!WARNING] > **IMPORTANT:** You must do a fresh checkout. Either clone into a new directory or - after checking out the branch, delete ALL files in the repo except the `.git` folder and then do a git reset. - Then, open the solution in Visual Studio - In Solution Explorer, expand: ElectronNET.WebApp >> Dependencies >> npm (ElectronHostHook....) - Right-click and choose "Restore", wait a few moments - Rebuild the solution - Ensure ElectronNET.WebApp is the startup project - Start debugging (F5 or click 'ASP.Net (unpackaged)' ## Run on WSL ### Prerequisites - Node 22 LTS needs to be installed - .NET8 SDK needs to be installed (but I think the ASP.Net core framework does the installation automatically when you start debugging) ### To launch Debugging on WSL - Open the project properties for the ElectronNET.WebApp - After electron and builder version selection, find the "Target Runtime Identifier" and select **linux-x64** - From the dropdown button for debug target selection (with the green 'play' icon) select WSL - Click it ## Creating Packages - Right-click project - Choose "Publish" - Choose one of the existing publish profiles (win-x64 or linux-x64) from the selection at the top - Hit "Publish" Please let me know how it works for you Enjoy!
claunia added the pull-request label 2026-01-29 16:59:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1337