Closed jcdickinson closed 7 years ago
This affects me too.
Seeing same here. I installed 1.9 from the rust site, then installed the Visual Rust extension. I don't believe I've ever had any older versions installed.
The first time it did ask me "Do you want to rebuild before running?". I thought that was a rather stupid question and ticked "Don't show me again" and then the "Yes" button. Maybe it interpreted that as "Yes this time, but never ask me again and assume no in future". I can't find any settings to change this or reset it so I get the dialog again.
@DanTup The option you're looking for is under Tools > Options > Projects and Solutions > Build and Run, labeled "On Run, when projects are out of date:". Checking "Don't show me again" and clicking "Yes" sets that option to "Always build", and setting it to "Prompt to build" gives you back the prompt.
The behavior here sounds like it's set to "Never build," but the MSBuild log here makes it seem like it is trying to build but the actual build process is getting skipped somehow.
@rpjohnst that was the first place I checked and it's say to Prompt
, but it does not :( I figured the dialog I saw was maybe Visual Rust specific and not the standard VS one (I'd never seen look like it did here before).
@rpjohnst Mine is set to "Always Build"
I'm running into this problem too, on a fresh install of everything 👀
Fresh install. This is broken. This is surely the very first feature that must work? There is nothing more critical than this...
This is going to be fixed with #234. You can try to build that branch yourself ...
This should no longer appear with #234 ... can you confirm that?
Is there CI output? Nightly builds or something?
Yes. The debug build (with the tests) is currently not working (see #238), but the Release configuration builds and produces an MSI as an artifact: https://ci.appveyor.com/project/vosen/visualrust
Installed .msi from your link. Now the build is no longer up-to-date. So it seems it is fixed. Can't check this in full right now, because of the older cargo.exe on my machine which I can't currently re-install.
Checked with MSVC build (1.13.0) and this works perfectly.
Environment
Repro
Hello World!
main
:println!("Test");
main.rs
.Hello World!
Expected:Hello World!<newline>Test
.Rebuild
.Summary
The build is not detecting changes to files.
Remarks
An older version of Visual Rust (and Rust) was installed on the environment, but uninstalled prior to installing these latest versions.
MSBuild log