I'm finding I'm unable to use a simple inclusive range to find my visual studio installation using vswhere (Visual Studio Locator version 3.1.7+f39851e70f [query version 3.12.2140.44225]).
Expected behavior:
When Visual Studio 17.12.3 is installed and the -version argument is provided any of: [17], [17.12], [17.12.3], [17,17], [17.12,17.12] or [17.12.3,17.12.3] I would expect to find the installation.
Actual behavior:
The installation is not found.
Workaround:
An exact Visual Studio installation version can be found when using the inclusive and exclusive syntax together with a single increment to the exclusive value, like so: [17.12,17.13)
I'm finding I'm unable to use a simple inclusive range to find my visual studio installation using vswhere (
Visual Studio Locator version 3.1.7+f39851e70f [query version 3.12.2140.44225]).Expected behavior:
When Visual Studio 17.12.3 is installed and the
-versionargument is provided any of:[17],[17.12],[17.12.3],[17,17],[17.12,17.12]or[17.12.3,17.12.3]I would expect to find the installation.Actual behavior:
The installation is not found.
Workaround:
An exact Visual Studio installation version can be found when using the inclusive and exclusive syntax together with a single increment to the exclusive value, like so:
[17.12,17.13)