Skip to content
Discussion options

You must be logged in to vote

Problem solved, the Headless package disables the window and keeps the rendering as a backend.

public static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure<TestApplication>()
    .UseSkia() // enable Skia renderer
    .UseHeadless(new AvaloniaHeadlessPlatformOptions
    {
        UseHeadlessDrawing = false // disable headless drawing
    });

https://docs.avaloniaui.net/docs/concepts/headless/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by treviasxk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant