AvaloniaVS icon indicating copy to clipboard operation
AvaloniaVS copied to clipboard

Error when switching from Split View to XAML View

Open anovik opened this issue 1 year ago • 2 comments

I open the project, any of *.axaml file in designer (Windows 10, VS 2022 with all updates, Avalonia 0.10.16). No errors, designer works fine.

I press XAML view to hide the designer. This all works but at the top left corner the following error appears:

xaml_view_error

anovik avatar Jul 15 '22 06:07 anovik

Can you check output logs? There might be useful information.

image

maxkatz6 avatar Jul 15 '22 07:07 maxkatz6

There is not much info there. In Designer mode I had:

10:31:50.846 [Information] Avalonia Package initialized 10:31:58.304 [Information] 0 Starting previewer process for '"MyProject.dll"' 10:31:58.319 [Information] 2228 Started previewer process for '"MyProject.dll"'. Waiting for connection to be initialized. 10:31:58.684 [Information] 2228 Connection initialized

After switching to XAML View:

10:33:48.548 [Information] 2228 Stopping previewer process 10:33:48.553 [Information] Process exited 10:33:48.553 [Information] Stopping previewer process

anovik avatar Jul 15 '22 07:07 anovik