mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Fails to start with VSCode #1022
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 @markatosi on GitHub (Nov 25, 2025).
Application fails to start when running through VSCode using Run and Debug with c# Dev kit
Steps to Reproduce:
@FlorianRappl commented on GitHub (Nov 26, 2025):
Not sure if VS code is the issue... From the logs I see that you run it on MacOS.
What's your npm (and Node.js) version?
@markatosi commented on GitHub (Nov 26, 2025):
npm 10.9.0
node v22.12.0
Yes I'm on a mac when i'm not using VS Studio 2026 on win 11 in Parallels. On the mac host I use Jetbrains Rider 99.99% of the time.
This was just a test in vs code to see what would happen. I'm a vs code noob so I could be doing something wrong but I
just started the app the way Microsoft recommends one starts c# apps in vs code with the dev kit.
Works fine in Rider of course.
I guess if anyone else can start the app properly from vs code on a mac then we can point the finger at me for now knowing what I'm doing :-)
https://code.visualstudio.com/docs/csharp/debugging
@markatosi commented on GitHub (Nov 26, 2025):
In the log message it's mentioning node v22.19 which is not installed on my machine. The wiki just says to have node 22.x or later. At any rate i have now updated to node v22.21.1
No change. rider still works, vscode doesn't.
dotnet run works as usual.
@FlorianRappl commented on GitHub (Dec 9, 2025):
I just tried this and everything seems to work fine. Can you provide your project in form of a repository on GitHub? This would help reproducing / identifying the issue. Many thanks!
@markatosi commented on GitHub (Dec 9, 2025):
Hi Florian, I’ll post the project in the next couple of days. I’m on a plane for the next day or so.
@markatosi commented on GitHub (Dec 11, 2025):
https://github.com/markatosi/BlazorApp1
@markatosi commented on GitHub (Dec 12, 2025):
I removed the Blazor1 repo and created Blazor2 as Blazor1 was full of junk that didn't need to be there.
https://github.com/markatosi/BlazorApp2
@FlorianRappl commented on GitHub (Dec 13, 2025):
I am confused. The project does not use Electron.NET or integrate it at all. So I'll need to close this one unless you provide a MWE to reproduce your issue with Electron.NET.
@markatosi commented on GitHub (Dec 13, 2025):
Sorry about that i did the initial commit and made the additions to add electron.net then got pulled away on something else and forgot to commit the new update. It's there now
@FlorianRappl commented on GitHub (Dec 13, 2025):
Alright thanks - I can actually reproduce it. Will be fixed in 0.3.0.
@FlorianRappl commented on GitHub (Dec 14, 2025):
Fixed with most recent preview (0.3.0-pre.4).