AvaloniaUI / AvaloniaVSCode

Visual Studio Code Extension for Avalonia UI
https://marketplace.visualstudio.com/items?itemName=AvaloniaTeam.vscode-avalonia
MIT License
103 stars 17 forks source link

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

Open Apisteftos opened 9 months ago

Apisteftos commented 9 months ago

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

tofferteves commented 8 months ago

@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 commented 8 months ago

I updated the post at the end Check it out!