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. Build the project first #153

Open
DamianSuess opened this issue Jan 22, 2025 · 2 comments
Open

Previewer is not available. Build the project first #153

DamianSuess opened this issue Jan 22, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@DamianSuess
Copy link

DamianSuess commented Jan 22, 2025

Describe the bug

Unable to use GUI previewer for .NET 8 LTS projects. Our devices are locked town to LTS support versions of .NET to be compliant with what we send our customers; so no .NET 9 on certain machines.

Error

.NET 9 was not found. Please make sure it's installed globally.

To Reproduce

  1. Build the project:
    • Build project (Ctrl+Shift+P > .NET Build)
    • Launched project - F5, or Ctrl+Shift+D and Build/Debug
  2. Select .axaml file
  3. Select, Show Preview (Ctrl+Shift+P > Show Preview)

Avalonia for VS Code

v0.0.32

Avalonia version

11.0

VS Code version

1.96.4

Relevant log output

Activating task providers dotnet
Activating task providers all

Additional context

No response

@DamianSuess DamianSuess added the bug Something isn't working label Jan 22, 2025
@maxkatz6
Copy link
Member

It is by design, as .NET 9 is required to run extension without hacks: #146
But I would keep this issue open, if anybody find a better way to integrate extension with the .NET SDK.

@DamianSuess
Copy link
Author

DamianSuess commented Jan 22, 2025

Thanks, @maxkatz6, for the heads up.
It's been a long while. Hope all is well and you're staying warm this winter 👍

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

2 participants