-
Notifications
You must be signed in to change notification settings - Fork 11
Compiling SkEditor
Notro edited this page Dec 28, 2024
·
2 revisions
-
Make sure you have the .NET SDK installed.
-
Download and install Git.
-
Clone the repository. For example, to clone the dev branch, use this command:
git clone -b dev/dev https://github.com/SkEditorTeam/SkEditor.git
-
Navigate to the cloned folder and enter the SkEditor directory:
cd SkEditor/SkEditor
-
Run the
dotnet publish
command. You can find more information about available command options here. Examples are provided below. -
You're done! The published files will be located in a folder like
bin\Release\net8.0\win-x64\publish
.
Simple, not self-contained (.NET Runtime required), optimized with R2R:
dotnet publish -c Release -r win-x64 --no-self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true
Self-contained (.NET Runtime not required), R2R, compression in single file, and unused dependencies trimmed:
dotnet publish -c Release -r win-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:EnableCompressionInSingleFile=true -p:TrimUnusedDependencies=true