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

Previewer is not available after successful build of project on Linux #117

Open
Apisteftos opened this issue Feb 22, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@Apisteftos
Copy link

Bug

Hello I am trying to preview just a simple welcome to Avalonia project but it seems that preview button doesn't work.

To Reproduce

Steps to reproduce the behavior:

  1. Build the project dotnet build
  2. Go to MainWindow.axaml or App.axaml
  3. Click on the Show Preview
  4. Throws an error: Previewer is not available. Build the project first.
  5. Type dotnet run works fine.
  6. Restart the VScode same issue
  7. Re-open folder does't work

Expected behavior

Working Show Preview

Environment

  • OS: Linux (Ubuntu 22.04.1 LTS)
  • Avalonia-Version: [0.0.31]
@Apisteftos Apisteftos added the bug Something isn't working label Feb 22, 2024
@MikeCodesDotNET MikeCodesDotNET transferred this issue from AvaloniaUI/Avalonia Feb 22, 2024
@tofferteves
Copy link

@Apisteftos would you like to try a workaround? I had a similar issue in MacOS. you can edit directly the extension inside the .vscode folder

Previewer is not available

@lukewire129
Copy link

I updated the post at the end
Check it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants