Skip to content

Latest commit

 

History

History
58 lines (48 loc) · 2.83 KB

BUILDING.md

File metadata and controls

58 lines (48 loc) · 2.83 KB

Cloning

Open a new terminal window and paste the following command:

git clone --recursive https://github.com/securefolderfs-community/SecureFolderFS.git

Running this command will clone the repository with all submodules into the current directory.

Building WinUI

1. Prerequisites

2. Preparing workload

  • Open the SecureFolderFS.sln file which will launch Visual Studio.
  • Ensure that the following build settings match your configuration (toolbar):
    • x64, x86, arm64 depending on your processor's architecture
    • Startup project set to SecureFolderFS.WinUI (You can change the startup project by opening Solution Explorer > Right-click SecureFolderFS.WinUI > "Set as startup project" image

Building AvaloniaUI

1. Prerequisites

2. Preparing workload

Building with Visual Studio 2022

  • Open the SecureFolderFS.sln file which will launch Visual Studio
  • Ensure that the following build settings match your configuration (toolbar):
    • Selected "Any CPU"
    • Startup project set to SecureFolderFS.AvaloniaUI (You can change the startup project by opening Solution Explorer > Right-click SecureFolderFS.AvaloniaUI > "Set as startup project"
      image

Building with Rider

  • Launch Rider
  • In the welcome screen, click "Open" and select SecureFolderFS.sln
  • Ensure that the following build settings match your configuration (toolbar):
    • Selected "Any CPU"
      image

    • Startup project set to SecureFolderFS.AvaloniaUI
      image

Building with Terminal

Open a terminal window and paste the following command:

dotnet build SecureFolderFS.AvaloniaUI

To build the Release version of the app, modify the command as follows:

dotnet build SecureFolderFS.AvaloniaUI -c Release