Skip to content
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

Can bootstrap be precompiled? #174

Open
XyyCare opened this issue Dec 25, 2024 · 1 comment
Open

Can bootstrap be precompiled? #174

XyyCare opened this issue Dec 25, 2024 · 1 comment

Comments

@XyyCare
Copy link

XyyCare commented Dec 25, 2024

Can bootstrap be precompiled? In this way, electron developers do not need to install .NET SDK on their local machines.

@agracio
Copy link
Owner

agracio commented Dec 25, 2024

You can use dotnet publish src/QuickStart.sln --self-contained -r win-x64 -c Release to publish self contained app.
This is based on quick-start example.
Make sure to point process.env.EDGE_APP_ROOT to correct output folder.
This is true for any .NET project you have to publish it in order to run in environment without .NET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants