Videra.Platform.macOS 0.1.0-alpha.7

This is a prerelease version of Videra.Platform.macOS.
dotnet add package Videra.Platform.macOS --version 0.1.0-alpha.7
                    
NuGet\Install-Package Videra.Platform.macOS -Version 0.1.0-alpha.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Videra.Platform.macOS" Version="0.1.0-alpha.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Videra.Platform.macOS" Version="0.1.0-alpha.7" />
                    
Directory.Packages.props
<PackageReference Include="Videra.Platform.macOS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Videra.Platform.macOS --version 0.1.0-alpha.7
                    
#r "nuget: Videra.Platform.macOS, 0.1.0-alpha.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Videra.Platform.macOS@0.1.0-alpha.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Videra.Platform.macOS&version=0.1.0-alpha.7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Videra.Platform.macOS&version=0.1.0-alpha.7&prerelease
                    
Install as a Cake Tool

Videra.Platform.macOS

English | 中文

Videra.Platform.macOS provides the macOS-native Metal backend used by Videra.

Current status: alpha. This package is the macOS platform companion for Videra.Avalonia, and the native path is NSView plus CAMetalLayer plus Metal.

Responsibilities

  • Metal device and command-queue setup
  • NSView / CAMetalLayer host integration
  • Metal resource factory and command executor wiring
  • Retina-aware drawable sizing and native lifecycle support

Install

The default public consumer path is nuget.org:

dotnet add package Videra.Avalonia
dotnet add package Videra.Platform.macOS

Current alpha and contributor preview validation can still use GitHub Packages, but that feed is not the default public install route:

dotnet nuget add source "https://nuget.pkg.github.com/ExplodingUFO/index.json" \
  --name github-ExplodingUFO \
  --username YOUR_GITHUB_USER \
  --password YOUR_GITHUB_PAT \
  --store-password-in-clear-text

dotnet add package Videra.Avalonia --version 0.1.0-alpha.7 --source github-ExplodingUFO
dotnet add package Videra.Platform.macOS --version 0.1.0-alpha.7 --source github-ExplodingUFO

This package supplies the Metal backend for the NSView / CAMetalLayer native path. VIDERA_BACKEND can prefer Metal, but it does not install missing platform packages.

Validation

macOS matching-host validation is explicit and should be run on a real macOS host:

./scripts/verify.sh --configuration Release --include-native-macos
pwsh -File ./scripts/verify.ps1 -Configuration Release -IncludeNativeMacOS

Requirements

  • macOS 10.15 or newer
  • Metal-capable hardware
  • Apple Silicon or Intel Mac with Metal support
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.7 58 4/18/2026
0.1.0-alpha.3 52 4/17/2026
0.1.0-alpha.1 56 4/16/2026