We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8b13ba commit e4a1a88Copy full SHA for e4a1a88
src/windows/find_tools.rs
@@ -363,9 +363,10 @@ mod impl_ {
363
) -> Option<Tool> {
364
// Early return if the environment isn't one that is known to have compiler toolsets in PATH
365
// `VCINSTALLDIR` is set from vcvarsall.bat (developer command prompt)
366
- // `VisualStudioDir` is set by msbuild when invoking custom build steps
+ // `VSTEL_MSBuildProjectFullPath` is set by msbuild when invoking custom build steps
367
+ // NOTE: `VisualStudioDir` used to be used but this isn't set when invoking msbuild from the commandline
368
if env_getter.get_env("VCINSTALLDIR").is_none()
- && env_getter.get_env("VisualStudioDir").is_none()
369
+ && env_getter.get_env("VSTEL_MSBuildProjectFullPath").is_none()
370
{
371
return None;
372
}
0 commit comments