Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Build Guide

Futrime edited this page Oct 7, 2022 · 1 revision

This project can be built in different environments. We have tested building by Visual Studio and .NET CLI tool.

Build by .NET CLI tool

You should have .NET CLI tool and .NET SDK 6.0.x installed. Meanwhile, we recommend developing with Visual Studio Code. Please refer to https://code.visualstudio.com/docs/languages/dotnet .

If you have VSCode and related extensions installed, just open VSCode in the root folder of the project, and follow the instructions provided by the extensions to build.

If you would like to build the release, run the commands below:

dotnet publish -o Build -c Release -r win-x86 --sc true -p:DebugType=none -p:PublishReadyToRun=true -p:PublishSingleFile=true
cp -r Assets build

Then you can publish the /build/ folder.

Build by Visual Studio

Just open EdcHost.csproj in the project root folder, and click to build in Visual Studio.

However, building by Visual Studio is not recommended, for it is not consistent with the building action on GitHub.

Clone this wiki locally