|
12 | 12 |
|
13 | 13 | </div> |
14 | 14 |
|
15 | | -<div> |
| 15 | +<div> |
16 | 16 | <!-- End exclude from NuGet readme. --> |
17 | 17 | <!-- Begin include in NuGet readme. |
18 | 18 |  |
@@ -74,16 +74,18 @@ In addition, the Silk.NET working group help drive larger user-facing changes pr |
74 | 74 | <h1 align="center">Building from source</h1> |
75 | 75 |
|
76 | 76 | Prerequisites |
77 | | -- **Must**: .NET 6 SDK |
78 | | -- **Should**: [NUKE](https://nuke.build) (build system). Install using `dotnet tool install Nuke.GlobalTool --global` |
79 | | -- **Should**: Android, iOS, and MAUI .NET 6 workloads (use `dotnet workload install android ios maccatalyst maui` to install them) |
80 | | -- **Should**: Android SDK version 30 with NDK tools installed. On Windows, for best results this should be installed into `C:\ProgramData\Android\android-sdk`. |
81 | | -- **Could**: Java JDK (for gradle) |
82 | | -- **Could**: Visual Studio 2022 Community version 17.0 or later |
| 77 | +- .NET 6 SDK and .NET 7 SDK |
| 78 | +- Android, iOS, and Mac Catalyst workloads (use `dotnet workload install android ios maccatalyst` to install them) |
| 79 | + - On Linux, `ios` and `maccatalyst` should be omitted as they are not available |
| 80 | +- Android SDK version 30 with NDK tools installed |
| 81 | + - On Windows, for best results this should be installed into `C:\ProgramData\Android\android-sdk` |
| 82 | +- Java 11 JDK |
| 83 | +- Visual Studio 2022 Community version 17.0 or later (optional) |
83 | 84 |
|
84 | 85 | Instructions |
85 | 86 | - Clone the repository (recursively) |
86 | 87 | - Run build.sh, build.cmd, build.ps1, or `nuke compile`. |
| 88 | + - On Linux, you may need to pass `--msbuild-properties AndroidSdkDirectory=/path/to/android/sdk` |
87 | 89 | - Use the DLLs. To get nupkgs you can use with NuGet instead, use `nuke pack`. |
88 | 90 |
|
89 | 91 | There are more advanced build actions you can do too, such as FullBuild, Pack, FullPack, among others which you can view by doing `nuke --plan`. |
@@ -127,7 +129,7 @@ Silk.NET is a [.NET Foundation](https://www.dotnetfoundation.org/projects) proje |
127 | 129 | <div> |
128 | 130 | <a href="https://www.jetbrains.com/?from=Silk.NET" align="right"><img src="https://raw.githubusercontent.com/dotnet/Silk.NET/main/documentation/readme/jetbrains.svg" alt="JetBrains" class="logo-footer" width="72" align="left"> |
129 | 131 | <a><br/> |
130 | | - |
| 132 | + |
131 | 133 | Special thanks to [JetBrains](https://www.jetbrains.com/?from=Silk.NET) for supporting us with open-source licenses for their IDEs. </a> |
132 | 134 | </div> |
133 | 135 |
|
|
0 commit comments