-
Notifications
You must be signed in to change notification settings - Fork 72
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
No supported installation of cargo.exe found #254
Comments
Cargo comes with the default Rust installation. So you can either use one from here: https://www.rust-lang.org/en-US/downloads.html (a Nightly, because the others are too old), or you can try rustup (https://rustup.rs/). With rustup it's easier to install different toolchains (stable, nightly) side by side and update them with a single command. |
We should probably change the error message to say something like "No supported Rust toolchain installation found." In the long term I would like to include (or automatically download) |
Thanks a lot. rustup.rs looks like a golden tool) I chose 'nightly' toolchain and extended path but the latest Visual Rust still does not work. |
What do you mean, it still does not work? VisualRust should be able to find the Rust toolchain when it's installed via rustup. Manually adding a cargo config is usually not needed, because you either have an existing project, or you create one using |
I guess I managed to mess things up somehow:
|
@Boddlnagg finished the fresh install in the previously mentioned order on VS 2015 Community. Everything works like a charm now: Cargo.toml exists, project compiles. |
@quixoticaxis Okay, great! I'm leaving this issue open to improve the error message ... for Rust beginners it's not clear what |
I'm having the same problem with 142. I've uninstalled and installed the entire tool-chain, w/o much luck. (Except Visual Studio) @quixoticaxis, did you have to reinstall visual studio?
|
@Antwarpes That is actually a different problem: Your version (1.12.1 stable) does have a date after 2016-10-06, but it is only a bugfix release of 1.12.0 and does not contain the change that VisualRust needs. I didn't anticipate the existence of a bugfix release when I wrote that error message. You actually need to use a 1.14 version, which currently only exists as nightly (going beta tomorrow). I will update the error message to reflect that (and just refer to the 1.14 version as a requirement, because I don't think that anyone is going to use a 1.14 nightly from before 2016-10-06). |
It looks like the version of Cargo that ships with 1.13.0 stable (released today) already supports |
I didn't have to re-install VS. Only deleted Rust, then installed nightly via rustup. |
Still happening for me.
Installed latest passing VisualRust version from AppVeyor : https://ci.appveyor.com/project/vosen/visualrust/build/145/artifacts Error message :
|
I uninstalled Rust ( |
After installing latest Release build of Visual Rust I get: "No supported installation of cargo.exe found. A version from after 2016-10-06 is required." Sorry for the stupid question, but how can I install cargo on Windows? I'm new to Rust and Bing searches didn't help me much with it.
The text was updated successfully, but these errors were encountered: