You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XamlX throws Unable to cast object of type 'XamlX.Ast.SkipXamlValueWithManipulationNode' to type 'XamlX.Ast.IXamlAstPropertyReference'.
Stack
10:31:07.792 [Error] 9076 UpdateXamlResult error
System.Xaml.XamlException: Unable to cast object of type 'XamlX.Ast.SkipXamlValueWithManipulationNode' to type 'XamlX.Ast.IXamlAstPropertyReference'.
10:31:31.176 [Information] 9076 Stopping previewer process
10:31:31.177 [Information] Process exited
10:31:31.177 [Information] Stopping previewer process
10:32:25.478 [Information] Started AvaloniaDesigner.CreateCompletionMetadataAsync() for "C:\GitHub\Avalonia\samples\Sandbox\obj\Debug\net6.0\Avalonia\references"
10:32:25.479 [Information] Starting previewer process for '"C:\GitHub\Avalonia\samples\Sandbox\bin\Debug\net6.0\Sandbox.dll"'
10:32:25.483 [Information] 24432 Started previewer process for '"C:\GitHub\Avalonia\samples\Sandbox\bin\Debug\net6.0\Sandbox.dll"'. Waiting for connection to be initialized.
10:32:25.926 [Information] 24432 Connection initialized
10:32:27.424 [Error] 24432 UpdateXamlResult error
System.Xaml.XamlException: Unable to cast object of type 'XamlX.Ast.SkipXamlValueWithManipulationNode' to type 'XamlX.Ast.IXamlAstPropertyReference'.
TemplateBinding is more limited than Binding for performance reasons. I believe this is by design and if it's not enough, you need to fall back to a normal Binding (like you did already). Note, you are outside ControlTemplate here. I agree that the error message could be improved.
TemplateBinding is more limited than Binding for performance reasons. I believe this is by design and if it's not enough, you need to fall back to a normal Binding (like you did already). Note, you are outside ControlTemplate here. I agree that the error message could be improved.
Then this shouldn't have worked either {Binding InnerContent, RelativeSource={RelativeSource TemplatedParent}} but only
Describe the bug
XamlX throws
Unable to cast object of type 'XamlX.Ast.SkipXamlValueWithManipulationNode' to type 'XamlX.Ast.IXamlAstPropertyReference'.
Stack
To Reproduce
Steps to reproduce the behavior:
Add folowing xaml
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
if change like this works:
The text was updated successfully, but these errors were encountered: