Stardrop icon indicating copy to clipboard operation
Stardrop copied to clipboard

Cant Preview MainWindow.axaml

Open MelanieNSoares opened this issue 1 year ago • 1 comments
trafficstars

When I try to preview the MainWindow.axaml file to see its layout i get a invalid markup error and the following in the Avalonia Diagnostics window :

[Error] 13080 UpdateXamlResult error 18:05:05:177 System.Xaml.XamlException: Value cannot be null. (Parameter 'path1')

I'm new to Avalonia so I don't know what I'm doing wrong. Building the code works fine, its only this window that cant be previewed.

MelanieNSoares avatar Jun 01 '24 21:06 MelanieNSoares

path1 might be some parameter in your code? I can't find path1 in the Avalonia source.

I am running into something similar, but the parameter name is control. This error is very vague, and I kinda wish there was a stacktrace for the exception so we can actually get some more information about what's going on here.

codecat avatar Aug 01 '24 15:08 codecat