Skip to content

Commit 5dae020

Browse files
authored
Create BUILDING.md
1 parent bc07f84 commit 5dae020

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

BUILDING.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
### Cloning
2+
3+
Open a terminal window and paste the following command:
4+
```ps
5+
git clone --recursive https://github.com/securefolderfs-community/SecureFolderFS.git
6+
```
7+
Running this command will clone the repository with all submodules into the current directory.
8+
9+
## Building WinUI
10+
### 1. Prerequisites
11+
- [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) with the following components installed:
12+
- .NET 7 SDK
13+
- Windows 11 SDK (10.0.22000.0)
14+
- MSVC v143 - VS 2022 C++ x64/x86 or ARM64 build tools (latest)
15+
- [Windows App SDK](https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/downloads#current-releases)
16+
17+
### 2. Preparing workload
18+
- Open SecureFolderFS.sln file which will launch Visual Studio.
19+
- Ensure that the following build settings match your configuration (toolbar):
20+
- x64, x86, arm64 depending on your processor's architecture
21+
- Startup project set to SecureFolderFS.WinUI (You can change the startup project by opening Solution Explorer > Right click SecureFolderFS.WinUI > "Set as startup project"
22+
![image](https://user-images.githubusercontent.com/53011783/216186419-aed03f32-565a-469d-9815-b7ea9206bf57.png)
23+
24+
## Building AvaloniaUI
25+
### 1. Prerequisites
26+
- [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) or other editor of choice.
27+
- .NET 7 SDK
28+
29+
### 2. Preparing workload
30+
> **Note**
31+
> The following instructions apply to Visual Studio 2022
32+
33+
- Open SecureFolderFS.sln file which will launch Visual Studio.
34+
- Ensure that the following build settings match your configuration (toolbar):
35+
- Selected "Any CPU"
36+
- Startup project set to SecureFolderFS.AvaloniaUI (You can change the startup project by opening Solution Explorer > Right click SecureFolderFS.AvaloniaUI > "Set as startup project"
37+
![image](https://user-images.githubusercontent.com/53011783/216189292-474db056-0e3b-419d-baae-e86e27b7a7e7.png)

0 commit comments

Comments
 (0)