electron-edge-js: Error when building Electron app for dist

When I package my electron app for distribution using electron-builder I am getting the following error:

Error: his is not a published, standalone application and we are unable to locate the .NET Core SDK.  Please make sure that it is installed; see http://microsoft.com/net/core for more details.

I am using the same .NET code as the quickstart for a proof-of-concept.

Any ideas on why I’d get this error? I have confirmed the .dlls are getting copied into the package.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 33 (16 by maintainers)

Most upvoted comments

Quickstart works fine as is. When I take the same .net code from the quickstart and copy it into my electron-builder app…it works fine in development but when I package for release, I get the error.