Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xaml files from Avalonia project do not load in designer #398

Open
emmauss opened this issue Oct 10, 2023 · 2 comments
Open

Xaml files from Avalonia project do not load in designer #398

emmauss opened this issue Oct 10, 2023 · 2 comments
Labels

Comments

@emmauss
Copy link

emmauss commented Oct 10, 2023

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

@emmauss emmauss added the bug label Oct 10, 2023
@Takoooooo
Copy link
Contributor

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

@workgroupengineering
Copy link
Contributor

@Takoooooo maybe this could help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants