Skip to content

Exact version match does not find installation #330

@xoorath

Description

@xoorath

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions