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

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

📋 Pull Request Information

Original PR: https://github.com/ElectronNET/Electron.NET/pull/893
Author: @softworkz
Created: 10/13/2025
Status: Merged
Merged: 10/14/2025
Merged by: @FlorianRappl

Base: developHead: electronnet_core


📝 Commits (10+)

  • c6b9de2 Update .gitignore
  • f634dc4 Update NuGet.config
  • 0f3f29e global.json: Pin .net SDK
  • 74b80b3 Add ElectronNET project (all build functionality)
  • d6e39fe Add ElectronNET.Build project (dll with custom MSBuild tasks)
  • 14722e1 Remove ElectronNET.CLI project
  • c0c3aae ElectronNET.Host: Remove build-helper and manifest (no longer needed)
  • 0dca0e9 ElectronNET.Host: Update build configuration - changes:
  • 5ea368b ElectronNET.Host: Update main.js with these changes:
  • 77efea5 ElectronNET.Host: Fix TS compilation error in tray.js

📊 Changes

305 files changed (+9093 additions, -5740 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 .nuke/build.schema.json (+7 -15)
📝 .nuke/parameters.json (+1 -1)
📝 Changelog.md (+56 -392)
📝 NuGet.config (+5 -2)
📝 README.md (+55 -203)
WHATS_NEW.md (+127 -0)
artifacts/ElectronNET.Core.0.0.18.nupkg (+0 -0)
artifacts/ElectronNET.Core.API.0.0.18.nupkg (+0 -0)
artifacts/ElectronNET.Core.API.0.0.18.snupkg (+0 -0)
artifacts/ElectronNET.Core.AspNet.0.0.18.nupkg (+0 -0)
artifacts/ElectronNET.Core.AspNet.0.0.18.snupkg (+0 -0)
global.json (+7 -0)
📝 nuke/Build.cs (+36 -135)
nuke/CommonPropsParser.cs (+33 -0)
📝 src/ElectronNET.API/API/App.cs (+21 -16)
📝 src/ElectronNET.API/API/AutoUpdater.cs (+0 -0)
📝 src/ElectronNET.API/API/BrowserView.cs (+0 -0)
📝 src/ElectronNET.API/API/BrowserWindow.cs (+0 -0)
📝 src/ElectronNET.API/API/Clipboard.cs (+0 -0)

...and 80 more files

📄 Description

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!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ElectronNET/Electron.NET/pull/893 **Author:** [@softworkz](https://github.com/softworkz) **Created:** 10/13/2025 **Status:** ✅ Merged **Merged:** 10/14/2025 **Merged by:** [@FlorianRappl](https://github.com/FlorianRappl) **Base:** `develop` ← **Head:** `electronnet_core` --- ### 📝 Commits (10+) - [`c6b9de2`](https://github.com/ElectronNET/Electron.NET/commit/c6b9de2afa608b39668b89b4c708b56d458ccbd1) Update .gitignore - [`f634dc4`](https://github.com/ElectronNET/Electron.NET/commit/f634dc45ed93f83cb2acd21cd278753ab4b2c59c) Update NuGet.config - [`0f3f29e`](https://github.com/ElectronNET/Electron.NET/commit/0f3f29eae340e644447cf43890f0db040a7a80bd) global.json: Pin .net SDK - [`74b80b3`](https://github.com/ElectronNET/Electron.NET/commit/74b80b31771a045ac3d6f3ee8142787710956379) Add ElectronNET project (all build functionality) - [`d6e39fe`](https://github.com/ElectronNET/Electron.NET/commit/d6e39fef24b78da6c7ef2a830cf460ec8f0f9c88) Add ElectronNET.Build project (dll with custom MSBuild tasks) - [`14722e1`](https://github.com/ElectronNET/Electron.NET/commit/14722e1f639f1be6ee1668f488dcd6431bf6012a) Remove ElectronNET.CLI project - [`c0c3aae`](https://github.com/ElectronNET/Electron.NET/commit/c0c3aaebdced3cdb173dc0e76eab143753eaf008) ElectronNET.Host: Remove build-helper and manifest (no longer needed) - [`0dca0e9`](https://github.com/ElectronNET/Electron.NET/commit/0dca0e90f9dc64a22ebdb81bbbf685da2597a46f) ElectronNET.Host: Update build configuration - changes: - [`5ea368b`](https://github.com/ElectronNET/Electron.NET/commit/5ea368bb16a5672311c16b7700080144f9759316) ElectronNET.Host: Update main.js with these changes: - [`77efea5`](https://github.com/ElectronNET/Electron.NET/commit/77efea50ed2ed8d22ed82d4d4525d6a9220f0e0c) ElectronNET.Host: Fix TS compilation error in tray.js ### 📊 Changes **305 files changed** (+9093 additions, -5740 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `.nuke/build.schema.json` (+7 -15) 📝 `.nuke/parameters.json` (+1 -1) 📝 `Changelog.md` (+56 -392) 📝 `NuGet.config` (+5 -2) 📝 `README.md` (+55 -203) ➕ `WHATS_NEW.md` (+127 -0) ➕ `artifacts/ElectronNET.Core.0.0.18.nupkg` (+0 -0) ➕ `artifacts/ElectronNET.Core.API.0.0.18.nupkg` (+0 -0) ➕ `artifacts/ElectronNET.Core.API.0.0.18.snupkg` (+0 -0) ➕ `artifacts/ElectronNET.Core.AspNet.0.0.18.nupkg` (+0 -0) ➕ `artifacts/ElectronNET.Core.AspNet.0.0.18.snupkg` (+0 -0) ➕ `global.json` (+7 -0) 📝 `nuke/Build.cs` (+36 -135) ➕ `nuke/CommonPropsParser.cs` (+33 -0) 📝 `src/ElectronNET.API/API/App.cs` (+21 -16) 📝 `src/ElectronNET.API/API/AutoUpdater.cs` (+0 -0) 📝 `src/ElectronNET.API/API/BrowserView.cs` (+0 -0) 📝 `src/ElectronNET.API/API/BrowserWindow.cs` (+0 -0) 📝 `src/ElectronNET.API/API/Clipboard.cs` (+0 -0) _...and 80 more files_ </details> ### 📄 Description 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! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:59:43 +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#1335