-
Notifications
You must be signed in to change notification settings - Fork 18
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. Build the project first. Not working #88
Comments
Same bug for me. |
Thanks for reporting the bug I am actively working on fixing this :) |
This also occurs on linux, with the axaml code completion giving the same message. |
Could you try using the v0.0.29 version? https://github.com/AvaloniaUI/AvaloniaVSCode/releases/tag/v0.0.29 |
v0.0.29 fixes it for me on linux |
@dire64 could you confirm v0.0.29 fixes it for you too? |
Not working here. Same symptom - need build, click build, prompted to build again. |
@michaeljon Could you share the steps to reproduce? |
Can confirm that it is fixed! |
Closing this. Please comment if you want me to reopen it |
I still have the bug in v0.0.31 on linux. |
I faced it too in v0.0.31 on windows 10
|
I have the same bug on macOS. |
Please reopen, I still have this bug on Ubuntu 22.04 v0.0.31 |
Same issue here on Windows with the latest .NET, VS Code and related extension. |
I asked about this on x. This is the answer I got from Mike James:
It seems that Avalonia are not going to fix/maintain this extension going forward. And are looking for the community to do it. I would be willing to try fixing this, but I can't find any instructions/guides about how to get setup for debugging/developing the extension. I asked for help on X but I did not get a response. |
yep same issue on linux mint (ubuntu 22.04 I think). Is this a configuration issue on my end, or is it confirmed a bug still? |
had the same issue on my macOS |
I will take a look at this later this weekend, if you have steps to reproduce, please leave a comment |
@prashantvc I don't know of a set of steps that makes it work.
Same thing for the previewer |
Now I tried on Windows 11, Linux Mint Debian edition 6 (on 2 machines) All with the same result, does not load the previewer. Additionally I tried with several earlier versions 0.31 and down to 0.25. All with the same result. I would therefore assume that the problem lies in some change in VS Code itself, not the extension. I did not try to downgrade VS Code |
on Mac, using .net 8 sdk, vs code, Avalonia for VSCode 0.0.31, the first app did work (MyApp) the GetStartedApp doesn't work. |
I got it working for v0.0.31 on my Windows machine with latest .NET 8.0 SDK installed by swapping out the SolutionParser files: See #40 (comment) |
This won't work if you have .NET 9 installed. Check the comment above if you do but compile the project with .NET 9 - then it will start working. |
Describe the bug
I am trying to develop a project using Avalonia on macOS I am on macOS 14.2.1 and VSCode but when I try to open the previewer it says "Previewer is not available. Build the project first." I click build but it seems like nothing is happening. I can click it as many times as I want and nothing happens.
I read the readme on here and noticed it says 11.0.5 causes previewer issues, I am on version 11.0.6. I am not sure how to downgrade it until this matter is resolved.
To Reproduce
Create a new Avalonia project
Try to open the previewer
When prompted to build click build
Nothing happens
Avalonia for VS Code
0.0.26
Avalonia version
11.0.6
VS Code version
1.85.1
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: