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
Avalonia AXAML designer does not open when x:ClassModifier="internal" is added to the UserControl definition and also internal modifier is added to the code behind class.
AXAML designer says that it's an Invalid Markup and to check the Error List, however there is nothing in the Error List. The application performs as expected during runtime.
<UserControlxmlns="https://github.com/avaloniaui"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"mc:Ignorable="d"d:DesignWidth="800"d:DesignHeight="450"x:Class="Foo.Views.FooBar"x:ClassModifier="internal">
Welcome to Avalonia!
</UserControl>
Code behind:
using Avalonia.Controls;namespace Foo.Views
{internalpartialclassFooBar:UserControl{publicFooBar(){
InitializeComponent();}}}
Avalonia AXAML designer does not open (says the markup is invalid)
AvaloniaVS plugin version
11.5
Avalonia version
11.0.6
Visual Studio version
17.8.4
Relevant log output
Not applicable
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Avalonia AXAML designer does not open when
x:ClassModifier="internal"
is added to the UserControl definition and also internal modifier is added to the code behind class.AXAML designer says that it's an Invalid Markup and to check the Error List, however there is nothing in the Error List. The application performs as expected during runtime.
With
internal
modifier:Without
internal
modifier:To Reproduce
Code behind:
AvaloniaVS plugin version
11.5
Avalonia version
11.0.6
Visual Studio version
17.8.4
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: