We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81fcb53 commit 299e5ddCopy full SHA for 299e5dd
src/windows_registry.rs
@@ -227,6 +227,11 @@ mod impl_ {
227
let installation_name = instance.installation_name().ok()?;
228
if installation_name.to_str()?.starts_with("VisualStudio/16.") {
229
Some(PathBuf::from(instance.installation_path().ok()?))
230
+ } else if installation_name
231
+ .to_str()?
232
+ .starts_with("VisualStudioPreview/16.")
233
+ {
234
+ Some(PathBuf::from(instance.installation_path().ok()?))
235
} else {
236
None
237
}
0 commit comments