Skip to content

Markdown Tutorial not working on newest Avalonia Version #222

Description

@DaikoGames

Hey there, so i jsut discovered that on the newest Avalonia Version the Markdown Nuget Package doesn´t work, i tried every tutorial that has been made from other users. I even tried changing from FluentTheme to SimpleTheme on App.axaml. this is my App.axaml:


<Application.Styles>


</Application.Styles>

and this is my C# code: await Avalonia.Threading.Dispatcher.UIThread.InvokeAsync(async () =>
{
var test = MessageBoxManager.GetMessageBoxCustom(
new MessageBoxCustomParams
{
WindowIcon = IconWindow,
Icon = MsBox.Avalonia.Enums.Icon.Error,

    ContentTitle = "Test",
    ContentMessage ="""**Text**""",
    Markdown = true,
    
    ButtonDefinitions = new List<ButtonDefinition>
    {
        new ButtonDefinition{Name = "Ok"}
    },
}
);
await test.ShowAsync();

}
);

Yes i installed both nuget packages. Both the default MessageBox Nuget package and the MessageBox.Markdown package. Whenever i try to run my project, the main project itself starts running, but the Message box doesn´t load. i can´t figure out what i am doing wrong here and i really wanna find out what the problem is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions