Building Source Code
Building addins¶
Ensure the following prerequisites are fulfilled:
- Latest .NET version installed
To build the addins and run unit tests Cake is used:
To run only part of the build a task can be passed using the --target=<TASK>
syntax:
Task | Description |
---|---|
DotNetCore-Build | Builds all addins |
Create-NuGet-Packages | Builds an creates NuGet packages for all addins. The NuGet packages are available in the BuildArtifacts\Packages\NuGet directory. |
Test | Builds all addins and runs unit tests. Coverage report is available in the BuildArtifacts\TestCoverage directory. |
Building and running website locally¶
For building and running website locally a Visual Studio Code Dev Container can be used.
Follow installation instructions to setup prerequisites.
To build and serve the website follow these steps:
- Clone and open the repository in Visual Studio Code
- Open the website Dev Container: F1
Dev Containers: Reopen in Container
- Start website in preview mode: F5
Website preview will be opened in Chrome.
Ensure the following prerequisites are fulfilled:
- Latest .NET version installed
- Python 3 installed
To build and serve the website Cake is used:
Website is available on http://127.0.0.1:8000/