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

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

Open
DoanVanQuan21 opened this issue Mar 19, 2024 · 3 comments
Labels

Comments

@DoanVanQuan21
Copy link

DoanVanQuan21 commented Mar 19, 2024

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

@SuperJMN
Copy link

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

@gcadmes-extron
Copy link

Ditto! Any traction on this issue or can someone provide a work-a-round?

@DoanVanQuan21
Copy link
Author

Ditto! Any traction on this issue or can someone provide a work-a-round?

hi, 4 project .desktop,webrowser,android,ios must be referenced to your library project.

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