Severity Code Description Project File Line Suppression State
Error Unable to resolve type ava.MainWindow ava Z:\Source\tests\ava\MainWindow.axaml
To Reproduce
Create a new project from the avalonia.app template.
Modify MainWindow.axaml.cs so the class is internal.
Build the project.
Open MainWindow.axaml in the previewer.
AvaloniaVS plugin version
11.5
Avalonia version
11.0.6
Visual Studio version
17.9.0 Preview 2.1
Relevant log output
01:23:47.668 [Information] 0 Starting previewer process for '"Z:\Source\tests\ava\bin\Debug\net8.0\ava.dll"'
01:23:47.672 [Information] 31372 Started previewer process for '"Z:\Source\tests\ava\bin\Debug\net8.0\ava.dll"'. Waiting for connection to be initialized.
01:23:47.730 [Information] 31372 Connection initialized
01:23:47.936 [Error] 31372 UpdateXamlResult error
System.Xaml.XamlException: Unable to resolve type ava.MainWindow
Describe the bug
To Reproduce
avalonia.app
template.MainWindow.axaml.cs
so the class isinternal
.MainWindow.axaml
in the previewer.AvaloniaVS plugin version
11.5
Avalonia version
11.0.6
Visual Studio version
17.9.0 Preview 2.1
Relevant log output
Additional context
No response