Skip to content

Extension not detecting toolchain #68

@DanielLMcGuire

Description

@DanielLMcGuire

I try to use the extension on any installation of Visual Studio I have, and I am faced with:

Prerequisite check(s) failed:
- rustup.exe not installed
- cargo.exe component is not found in any active toolchain.

Pressing OK will open prerequsites install instructions and restart the IDE.

(OK is the only button might I add, closing the window seems to do the same thing.)

The sane thing to do is not to limit the user from using the IDE at all, like if I was just starting out, this would make me just uninstall Visual Studio and give up. Add a configuration option somewhere. Better yet, add a button to not restart the whole IDE.

Rust is in my PATH, and is at the default location of C:/Users/USERNAME/.cargo/bin/

> where cargo
C:\Users\danielmcguire\.cargo\bin\cargo.exe
> where rustup
C:\Users\danielmcguire\.cargo\bin\rustup.exe

The extension has no way to configure it externally as far as I can tell, I cannot tell if it does inside the IDE or not as the initial message doesn't allow the IDE to work at all, nor can I uninstall the extension outside of safe mode, which most Visual Studio users are unaware of.

I tried installing onto a VM to no luck, and a clean install of windows on a separate PC only to see the same issue in both Visual Studio 2022 and 2026.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions