An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Hi @Patrick Loftis ,
Thanks for reaching out.
Glad to hear the Avalonia previewer is working again.
Based on what you described (everything functioning normally, dotnet clearly installed, builds working fine), the popup is very likely coming from a VS Code extension startup check rather than an actual missing SDK. Sometimes an extension (often the C# or Avalonia extension) performs an early environment validation when VS Code launches. If that check runs before the environment is fully resolved, or if it briefly fails to detect dotnet in PATH, you can get the warning even though the SDK is correctly installed and usable.
Since:
-
dotnet --infoworks - Your project builds and runs
- The previewer is functioning
there’s no indication of a real SDK issue. At that point, it’s typically one of these:
- A stale extension cache
- A transient PATH resolution issue at startup
- A minor bug in the extension’s detection logic
If it becomes annoying, you could try:
- Reloading the window (
Developer: Reload Window) - Updating or reinstalling the C# / Avalonia extension
- Checking VS Code -> Extensions -> Output panel to see which extension is throwing the message
But if everything continues to work normally, it’s safe to treat it as a cosmetic detection issue rather than a broken SDK installation.
Hope this helps! If my explanation was helpful - kindly follow the instructions here so others with the same problem can benefit as well.