mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Project creates blank window. #443
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 @TheGreyRaven on GitHub (Jan 21, 2020).
Hello, I downloaded this just to see how Electron worked: https://github.com/ElectronNET/electron.net-musicplayer-sample
I could compile and run the program without any issues, so I wanted to create my own project.
I am using Visual Studio 2019, I choosed "ASP.NET Core Web Application" and then installed the Electron.API NuGet (Version 7.30.2) and then ran
electronize init.But the Issue I am having is that when running
electronize startit creates a Window for me but it is just blank, none of my HTML shows up.This is how my project looks like:
https://i.imgur.com/lpAo5BW.png
The console outputs the following:
https://pastebin.com/PnHgi3LP
And the developer console on the Electron app outputs the following:
My Startup.cs
https://pastebin.com/NmKzhnHc
And my Program.cs
https://pastebin.com/XHXVdGF7
My .csproj file looks identical to the musicplayer sample linked above.
To my understanding it seems like the Electron app has trouble finding the .cshtml, but I might be wrong on that subject.
Any ideas why the application just show up a white background?