AvaloniaVSCode
AvaloniaVSCode copied to clipboard
Previewer is not available after successful build of project on Linux
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:
- Build the project
dotnet build
- Go to MainWindow.axaml or App.axaml
- Click on the
Show Preview
- Throws an error:
Previewer is not available. Build the project first.
- Type
dotnet run
works fine. - Restart the VScode same issue
- 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 would you like to try a workaround? I had a similar issue in MacOS. you can edit directly the extension inside the .vscode folder
I updated the post at the end Check it out!