Are you sure that this issue has anything to do with Electron.NET?
Sounds that your class may miss a default constructor or something similar. Please
Make sure that you have valid code, i.e., that it runs in general
You can reproduce the issue in a MWE that you can give us in form of a GitHub repository (such that we only need to clone and open to see the issue appearing on our machines)
My electron App is not running when I`m adding services in the Program file.
The program file looks like
But when I remove
it runs perfectly. Any ideas how to solve this?