The application has been generated successfully. No interface will be displayed when opening exe?
🚨 The issue tracker is not for questions 🚨

“electronize start” success “electronize build /target win” has question
I run \bin\Desktop\win-unpacked\resources\bin\OOP.BMS.Web.exe

Looks like a bug in your code. This is not likely an electron.net issue.
@lzb949838390
NOTE: When electronzie build is executed, it calls to generate a single-file, self-contained exe:
dotnet publish ....... /p:PublishReadyToRun=true /p:PublishSingleFile=true --self-contained
By the looks of the exception, your code is utilizing reflection in a particular why that does not work when things are published as a single file. I found this issue over in the dotnet/runtime repo explaining why this is so.
You can either adjust your code or you can disable the single-file flag by:
electronize build /target win /p:publishSingleFile=false
@schaveyt Thank you.I have solved the problem of win build. But I have a new problem,Error occurred while linux build.
look...

Hi, @lzb949838390! As I can see (https://github.com/electron-userland/electron-builder/issues/3569), it's a temporary (or not so temporary 😢: https://github.com/electron-userland/electron-build-service/issues/17) error caused due to unreachable remote build server, which is used by electron-builder - a npm package and an infrastructure that handles electron apps packaging. You can try again later, or set up a build agent on a local machine. If you need to automate your Electron.NET app's builds, try using CI services like Travis CI, GitHub Actions or AppVeyor - I think that it would be easier to set up and maintain than hosting own build agent for electron-builder.