AvaloniaVSCode icon indicating copy to clipboard operation
AvaloniaVSCode copied to clipboard

Previewer is not available after successful build of project on Linux

Open Apisteftos opened this issue 1 year ago • 2 comments

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 avatar Feb 22 '24 16:02 Apisteftos

@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

tofferteves avatar Mar 02 '24 08:03 tofferteves

I updated the post at the end Check it out!

lukewire129 avatar Mar 07 '24 01:03 lukewire129