-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The "-legacy" option does not appear to work with the "-version" option. #62
Comments
At this time, I have no plans to duplicating the version range parsing logic in vswhere to handle when the COM API is not installed. What scenario are you trying to support that you need to specify a version range with only legacy products installed? |
I was trying to query for only Visual Studio 2015 using "-version 14.0"; instead it returned 2010 to 2015. Perhaps you could add a small check to see if the COM API is installed and disallow -version with -legacy in that case? |
Using the "-legacy" and "-version" options together does not work. It always outputs all legacy versions. Either these options should actually work together -OR- using them together should produce an error.
The text was updated successfully, but these errors were encountered: