AvaloniaUI/AvaloniaVS

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

DoanVanQuan21 opened this issue · 3 comments

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

  • create a new solution
  • create a Class Library project
  • install Avalonia 11.0.10
  • create a file LoginView.axaml and then click this file
  • log "No executable found", "Stopping previewer process"
    .

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

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