-
Notifications
You must be signed in to change notification settings - Fork 99
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
Non deterministic error: 0x57 "version" parameter is not supported #91
Comments
Already fixed in in #85. Please use version 2.1.3 or newer of vswhere. |
As I wrote in my first post: I'm using version 2.1.3 |
If you look at the issues mentioned by #85 this behavior was intentional since version ranges are not supported without VS2017 or newer installed. Previously I simply ignored the version range, but then callers may get data that does not fit in the version range if VS2017 or newer - which provides the version range handler - is not installed. |
@heaths Thanks, for the clarification. But I still do not get why VS2017 is needed to locate previous versions of VisualStudio... |
It's not. vswhere can locale Visual Studio 10.0 (2010) and newer, but you cannot use the In past versions, passing Note that vswhere was designed for 15.0 and newer. Supporting 10.0 - with minimal information returned - was bolted on later so developers could change detection scripts to use vswhere exclusively instead of handling registry- vs. query API-based detection separately themselves. |
Hi there. I have VS 15.5.4 installed. when I run vswhere with version
|
Please open a new issue in the future. This one is old and resolved. It appears you don't have the query API registered. Please try repairing Visual Studio. |
I have two machines, both Windows 7 with VS 2015 installed.
One machine has also VS 2017 installed. I'm using vswhere version 2.1.3
I try to run the following command to get the path for VS2015:
vswhere.exe -legacy -version "[14,15)" -property installationPath -nologo
On the machine with VS2017 installed the path is successfully determined.
On the other machine the following error is reported:
Error 0x57: The "version" parameter is not supported
I already made sure that the same version of vswhere is used...
The text was updated successfully, but these errors were encountered: