Skip to main content
net8.0

Diagnostics for Fabulous.Avalonia

Published
Dec 27, 2024
1y ago
Total Downloads
2.5K
2,518

Install

dotnet add package Fabulous.Avalonia.Diagnostics --version 3.0.0-pre8
ProductVersions
.NET
net8.0

README

Diagnostics for Fabulous.Avalonia

Avalonia has a built-in DevTools window which is enabled by calling the attached AttachDevTools()

How to use

  • Add the Fabulous.Avalonia.Diagnostics package to your project.
  • Open Fabulous.Avalonia namespace at the top of the file where you declare your SingleViewApplication or DesktopApplication widgets.
  • The default templates have this enabled when the program is compiled in DEBUG mode:
    let view () =
#if MOBILE
        SingleViewApplication(content())
#else
        DesktopApplication(Window(content()))
#endif

#if DEBUG
            .attachDevTools()
#endif

    let create () =
        FabulousAppBuilder.Configure(FluentTheme, view)

Other useful links:

Additionally, we have the Fabulous Discord server where you can ask any of your Fabulous related questions.

Changes from Previous Version

No structural changes between v3.0.0-pre7 and v3.0.0-pre8.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.