Skip to content

.NET CLI tool for querying Visual Studio for Mac installations and invoking bundled tools

License

Notifications You must be signed in to change notification settings

mhutch/vsmac-cli

Repository files navigation

vsmac-cli

.NET CLI tool for interacting with Visual Studio for Mac.

  • Open files: vsmac open Hello.cs
  • Query installed versions: vsmac list
  • Find app bundle path: vsmac path
  • Invoke MSBuild: vsmac msbuild
  • Target specific versions: vsmac -v 17.1 path

Installation

dotnet tool install -g vsmac-cli

Examples

$ vsmac list
8.9.0.947 [preview] /Applications/Visual Studio (Preview).app
8.8.3.16  [stable]  /Applications/Visual Studio.app
7.4.1.48  [stable]  /Applications/Visual Studio 7.4.app
$ vsmac --preview path
/Applications/Visual Studio (Preview).app
$ vsmac version
8.8.3.16
$ vsmac --preview version
8.9.0.947
$ vsmac -v 7 version
7.4.1.48
$ vsmac msbuild Hello.csproj -c Release
Microsoft (R) Build Engine version 16.8.0 for Mono
[...]

About

.NET CLI tool for querying Visual Studio for Mac installations and invoking bundled tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages