🏭
Build Avalonia from Source

Prerequisites

​
1
git clone https://github.com/AvaloniaUI/Avalonia.git
2
cd Avalonia
3
git submodule update --init --recursive
Copied!

.NET Core (Windows, Linux and macOS)

​

Install .NET Core

Build

1
cd samples/ControlCatalog.NetCore
2
dotnet restore
3
dotnet build
Copied!

Run

1
cd samples/ControlCatalog.NetCore
2
dotnet restore
3
dotnet run
Copied!

Special Requirements

​

Windows

Install Visual Studio

Build

1
Open Avalonia.sln in Visual Studios 2019 or above.
Copied!

OSX

The native interop layer requires code generation, this can be triggered by: ./build.sh --target CompileNative
Last modified 21d ago