-
Notifications
You must be signed in to change notification settings - Fork 70
Build is always 'up-to-date' (MSVC) #214
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
Comments
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 |
@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 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. |
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
The text was updated successfully, but these errors were encountered: