Installation
NuGet Packages
Add the required packages to your project:
For Desktop Applications (Windows/Linux/macOS)
dotnet add package PlusUi.core
dotnet add package PlusUi.desktop
For Android
dotnet add package PlusUi.core
dotnet add package PlusUi.droid
For iOS
dotnet add package PlusUi.core
dotnet add package PlusUi.ios
For Web (Blazor)
dotnet add package PlusUi.core
dotnet add package PlusUi.web
For Headless (Testing, Automation, Server-side Rendering)
dotnet add package PlusUi.core
dotnet add package PlusUi.headless
Project File Setup
Your .csproj should target .NET 10:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="PlusUi.core" Version="*" />
<PackageReference Include="PlusUi.desktop" Version="*" />
</ItemGroup>
</Project>
For Android, use
net10.0-android. For iOS, usenet10.0-ios.
Verify Installation
Create a simple test to verify everything works:
using PlusUi.core;
// If this compiles, you're ready!
var label = new Label().SetText("PlusUi is installed!");
Next Steps
Continue to First App to create your first PlusUi application.