⚠️ This package is deprecated. The legacy in-process DevTools have been replaced by the standalone AvaloniaUI Developer Tools. Please migrate to the new tool — see the migration guide below.
This repository is a read-only archive of the legacy Avalonia.Diagnostics package, previously part of the Avalonia repository.
It provided an in-process DevTools window for inspecting the visual tree, styles, and properties of Avalonia applications.
-
Remove the
Avalonia.Diagnosticspackage:dotnet remove package Avalonia.Diagnostics -
Install the new diagnostics support package:
dotnet add package AvaloniaUI.DiagnosticsSupport -
Install the standalone Developer Tools:
dotnet tool install --global AvaloniaUI.DeveloperTools -
Update your
Applicationclass:public override void Initialize() { AvaloniaXamlLoader.Load(this); #if DEBUG this.AttachDeveloperTools(); #endif }
-
Run your app and press F12 to launch Developer Tools.
The standalone Developer Tools includes a free Community edition that covers all features available in the legacy Avalonia.Diagnostics package — no license required.
For full details, see the Developer Tools documentation.
This project is licensed under the MIT License.