Replies: 2 comments 3 replies
-
It should show more relevant info in the error list IIRC (sorry, haven't used visual studio for years) |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
That's a horrible solution. It may be the only way to figure it out... but
that doesn't make it not horrible.
…On Wed, Sep 1, 2021, 14:59 Nikita Tsukanov ***@***.***> wrote:
That error is not related to the xaml parser. Parser itself has
successfully compiled XAML, the exception was thrown during the loading.
To diagnose such errors I suggest to load your solution into a second
instance of visual studio, attach debugger to design process of the first
instance (should be a dotnet.exe instance with
Avalonia.Designer.HostApp.dll somewhere in the command line) and then
change the xaml by adding a space somewhere.
You should see what is causing the error.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6519 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHRCJ5H3DJKZBQZ6BW7TH3T72A27ANCNFSM5DFZIRXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Have this XAML:
I'm using the Avalonia VS plugin. Everything displayed properly in the preview panel until I added the interaction & interactivity bits. Now, the preview panel says Invalid Markup.
This has happened before. I manually re-built the entire project as I had only one view at the time. Now I've got many and this will be annoying to work around. This UserControl is part of a larger window. When I view the larger window, it appears as a little bitty square.
I'm really trying to make this work. I want this to work...
Beta Was this translation helpful? Give feedback.
All reactions