VSWhereTool is a repackaging of the vswhere utility as a Dotnet tool.
VSWhere is already available in numerous formats for installation. Packaging it as a Dotnet tool allows for multiple versions to be installed and cached on a system simultaneously, and users can control which version is used through a Dotnet tool manifest file.
The following will add VSWhereTool to a Dotnet tool manifest file:
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local DemaConsulting.VSWhereTool
The tool can then be executed by:
dotnet vswhere <arguments>