Xaml files from Avalonia project do not load in designer
emmauss opened this issue · 2 comments
Describe the bug
All xaml/axaml files in the Avalonia repository do not load in the designer. There's no option to choose the built project, nor does intellisense work.
To Reproduce
Open the Avalonia Project in VS and open any xaml file.
AvaloniaVS plugin version
11.1
Avalonia version
master as of AvaloniaUI/Avalonia@b83a5eb
Visual Studio version
17.7.3
Relevant log output
07:26:33.769 [Information] Avalonia Package initialized
// nothing else after this
Additional context
No response
Not sure how to solve that. The problem here is in this code https://github.com/AvaloniaUI/AvaloniaVS/blob/master/AvaloniaVS.Shared/Services/SolutionService.cs#L80-L103
In Avalonia SafeAreaDemo.iOS is not loaded correctly and this method is infinetly awaiting for project references to load but they won't be loaded. We need to somehow find a way to understand whether project is loaded correctly and otherwise skip loading its references. But currently we can just fix the SafeAreaDemo.iOS and preview would work correctly
@Takoooooo maybe this could help you.