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