Files
Electron.NET/docs/GettingStarted/Package-Building.md
softworkz 0a0e26a9dd Add docs
2025-10-15 12:54:08 +02:00

3.2 KiB

Package Building

explain how to use VS publish to create package with electron-builder.

The folder publishing is not the same between ASP.Net and console ap.

For ASP.Net, these are working publishing profiles:

<?xml version="1.0" encoding="utf-8"?> true false true Release FileSystem publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\ FileSystem <_TargetId>Folder net8.0 linux-x64 6ea447d9-343f-46b8-b456-66557bddbb9f true Any CPU <?xml version="1.0" encoding="utf-8"?> true false true Release FileSystem publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\ FileSystem <_TargetId>Folder net8.0 win-x64 6ea447d9-343f-46b8-b456-66557bddbb9f true Any CPU

For a console app, these ones are working:

<?xml version="1.0" encoding="utf-8"?> Release Any CPU publish\Release\net8.0\linux-x64 FileSystem <_TargetId>Folder net8.0 linux-x64 false false <?xml version="1.0" encoding="utf-8"?> Release Any CPU publish\Release\net8.0\win-x64 FileSystem <_TargetId>Folder net8.0 win-x64 false false false