-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dotnet executable path in standalone mode #24
Comments
What problem you trying to solve? What kind of errors you getting when running your app and what settings you pass to it? |
Hi agracio, Thank you for all the effort you are putting to keep this project live. We really appreciate it. This issue is electron specific, I have done few modifications to run this app on electron. I know there is a separate edge-js project for electron, but I think it only changes the way it is built(against node vs electron) So if we build correctly this project should also run on electron. As we don't have dotnet core on client machines where electron app is installed, we package the standalone app with electron
published app will be created in \src\QuickStart.Core\bin\Release\netcoreapp2.0\win-x64\publish
fixing to build with electron In
Build the dependencies with electron builder
you will get the expected output as you have dotnet on your path
it will throw following exception
This is also reproducible on mac-os following similar steps. electron version is 1.8.2 |
I think the problem is with if (mode == host_mode_t:: muxer && dotnetExecutablePath.empty())
{
throwV8Exception("This 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.");
} |
Yes, That makes sense. Thanks. |
Will be done in a couple of days, it will also be merged to |
Thanks, Will it be not required to compile for Mac and Linux? Last time I checked It was just windows binaries are included and had to compile for Mac and Linux. |
Mac and Linux compile on |
Just published new versions of |
Ok, it solved the issue. Thank You |
I can see following logic in the creclrembedding.cpp line 337.
I don't understand why it looks for dotnet executable binary in the PATH if this is standalone mode. I think it should not be dependent on any external 'dotnet' binary but only the binaries in the EDGE_APP_ROOT. Can someone please explain the correct way to run in standalone mode?
The text was updated successfully, but these errors were encountered: