Skip to content
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

Range Detection Issue #298

Closed
csteenwyk opened this issue Sep 19, 2023 · 1 comment
Closed

Range Detection Issue #298

csteenwyk opened this issue Sep 19, 2023 · 1 comment

Comments

@csteenwyk
Copy link

csteenwyk commented Sep 19, 2023

When using Visual Studio Locator version 3.1.7+f39851e70f if passing vswhere.exe -version [17.0.5,17.1) I get

installDate: 2/10/2023 2:04:15 PM
installationName: VisualStudio/17.0.5+32112.339
installationPath: C:\Program Files\Microsoft Visual Studio\2022\Professional
installationVersion: 17.0.32112.339
productId: Microsoft.VisualStudio.Product.Professional
productPath: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe
state: 4294967295
isComplete: 1
isLaunchable: 1
isPrerelease: 0
isRebootRequired: 0
displayName: Visual Studio Professional 2022
description: Professional IDE best suited to small teams
channelId: VisualStudio.17.Release
channelUri: https://aka.ms/vs/17/release/channel
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
installChannelUri: https://aka.ms/vs/17/release/212623721_1966184275/channel
releaseNotes: https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.0#17.0.5
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=661288
updateDate: 2023-02-10T19:04:15.6289691Z
catalog_buildBranch: d17.0
catalog_buildVersion: 17.0.32112.339
catalog_id: VisualStudio/17.0.5+32112.339
catalog_localBuild: build-lab
catalog_manifestName: VisualStudio
catalog_manifestType: installer
catalog_productDisplayVersion: 17.0.5
catalog_productLine: Dev17
catalog_productLineVersion: 2022
catalog_productMilestone: RTW
catalog_productMilestoneIsPreRelease: False
catalog_productName: Visual Studio
catalog_productPatchVersion: 5
catalog_productPreReleaseMilestoneSuffix: 1.0
catalog_productSemanticVersion: 17.0.5+32112.339
catalog_requiredEngineVersion: 3.0.4496.34889
properties_campaignId:
properties_channelManifestId: VisualStudio.17.Release/17.0.5+32112.339
properties_nickname:
properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe

However, if I pass vswhere.exe -version [17.0.5,17.0.6) I get no match.

From what I can tell of https://github.com/microsoft/vswhere/wiki/Versions, this should be valid and working syntax

@heaths
Copy link
Member

heaths commented Sep 19, 2023

Because the version is 17.0.32112.339 (from installationVersion, catalog_buildVersion) not 17.0.5, which is the product display version. Why these have diverged over time I cannot say, but it has more to do with branding. Sorry for any confusion, but please use the installationVersion for version queries.

@heaths heaths closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants