Skip to content

The AltCode.VsWhat package

Steve Gilham edited this page Nov 17, 2018 · 1 revision

I wrote this tool to check that the package for the static analysis tools was present by the expected name on my machine, but there are other use-cases out there, as this Visual Studio Developer Community thread indicates.

Usage

Install by

dotnet tool install --global AltCode.VsWhat

with an appropriate --version parameter as desired.

This should result in

You can invoke the tool using the following command: altcode-vswhat
Tool 'altcode.vswhat' (version '[whatever]') was successfully installed.

Running it gives something like

Visual Studio Community 2017 version 15.9.28307.105
    at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community
Install status: Complete
Packages Installed:
    "Component.Microsoft.VisualStudio.BlazorExtension"
    "Component.Microsoft.VisualStudio.RazorExtension"
    "Component.Microsoft.VisualStudio.Web.AzureFunctions"
    "Component.Microsoft.Web.LibraryManager"
...

Clone this wiki locally