From 55fc22442fd084b0bb51389add5fccbd8cf5ab12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C4=8Cebular?= Date: Sun, 30 Aug 2020 22:13:13 +0200 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 24582d4..9c975d7 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,16 @@ - .NET Core 3 Runtime (Windows 10 will automatically prompt you to download it when you try to run SyncthingStatus). - An already set up and running Syncthing instance. Refer to [SETUP](https://github.com/mc0239/SyncthingStatus/blob/master/SETUP.md) for an example of how to set it up. + +## Building + +### Release build + +To create a release executable (*win-x64* target example): + +1. In Visual Studio 2019, go to _Build_ -> _Publish SyncthingStatus_. +2. Create a new Publish Profile and set up the following: + - Deployment mode: *Framework-dependant* + - Target runtime: *win-x64* + - Open *File publish options* and check *Produce single file*. +3. This build will generate a single executable file in *publish* folder (not *win-x64*).