sonik-br / GDMENUCardManager

Manage content on SD Card for Dreamcast's GDMenu
GNU General Public License v3.0
226 stars 18 forks source link

How to make release builds? #10

Closed mrneo240 closed 3 years ago

mrneo240 commented 3 years ago

Hello,

How can I compile each flavor of build for my fork?

sonik-br commented 3 years ago

Hi, I only build from inside VS (2019).

The project "GDMENUCardManager" is for windows only. "GDMENUCardManager.AvaloniaUI" is multi platform UI.

Here's my settings for publishing each one:

Windows image

Linux (can change the target runtime to mac/win if desired) image

It's possible to build on command line too.

If you find any bug or add new feature please share it here too :)

mrneo240 commented 3 years ago

Thank you! I settled on using these for now for my releases:

dotnet publish -c Release -r linux-x64 --self-contained false  -o ./publish/linux-x64 .\GDMENUCardManager.AvaloniaUI\GDMENUCardManager.AvaloniaUI.csproj

dotnet publish -c Release -r osx-x64 --self-contained false -o ./publish/osx-x64 .\GDMENUCardManager.AvaloniaUI\GDMENUCardManager.AvaloniaUI.csproj

dotnet publish -c release -r win-x64 --self-contained false -o ./publish/win-x64 .\GDMENUCardManager\GDMENUCardManager.csproj