Important notes
Repo Setup
- Run
git submodule update --init --remote -- RogueEssenceto get the RogueEssence submodule. - Run
git submodule update --init --recursiveto get all the submodules. - You may need to regenerate NuGet packages for the RogueEssence solution first, before building.
- If you switch to or from on the DotNetCore branch, remember to clear your obj folder.
Building Game
- Run
dotnet publish -c Release -r win-x86 PMDC/PMDC.csprojto publish to Windows x86. - Run
dotnet publish -c Release -r win-x64 PMDC/PMDC.csprojto publish to Windows. - Run
dotnet publish -c Release -r linux-x64 PMDC/PMDC.csprojto publish to Linux. - Run
dotnet publish -c Release -r osx-x64 PMDC/PMDC.csprojto publish to Mac. - Files will appear in the
publishfolder.
Building Server
- Run
dotnet publish -c Release -r win-x64 RogueEssence/WaypointServer/WaypointServer.csprojto publish to Windows. - Run
dotnet publish -c Release -r linux-x64 RogueEssence/WaypointServer/WaypointServer.csprojto publish to Linux.