AvaloniaUI / AvaloniaVS

Visual Studio Extension for Avalonia
MIT License
412 stars 77 forks source link

Reference the library from an executable or wait for the solution to finish loading. #459

Open DoanVanQuan21 opened 4 months ago

DoanVanQuan21 commented 4 months ago

Describe the bug

Hello everyone. I'm doing a small project. In my project, I have a module Auth created Class Library project target .net8.0. When I create a file .axaml and it has a error "Reference the library from an executable or wait for the solution to finish loading". How can I fix it? Help me, thank you!

To Reproduce

AvaloniaVS plugin version

11.0.10

Avalonia version

11.0.10

Visual Studio version

17.9.3

Relevant log output

20:58:25.190 [Error]  No executable found
20:58:30.564 [Information] 0 Stopping previewer process

Additional context

No response

SuperJMN commented 1 month ago

Same problem here. It looks like the previewer isn't capable of handling files when defined in a Class Libraries.