Skip to content

A collection of scripts and modules to assist in tasks related to Visual Studio and MSBuild Tools.

License

Notifications You must be signed in to change notification settings

BinToss/BinPosh.VSSetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BinPosh.VSSetup

A collection of scripts and modules to assist in tasks related to Visual Studio and MSBuild Tools.

BinPosh.GVSID | Get-VSInstallDir

Leverage the Microsoft module 'VSSetup' to get the path of the latest-versioned MSBuild Tools or Visual Studio instance.

  • -Prerelease: include prereleases in the list of discovered instances.
  • -Filter: Filter the discovered instances for specified Workloads, ComponentGroups, Components.

BinPosh.EVSDE | Enter-VSDevEnv

Imports an instance's DevShell module (Microsoft.VisualStudio.DevShell.dll). Then, loads into the developer environment.

  • -VSInstallDir: the root directory of an instance i.e. C:\Program Files (x86)\Microsoft Visual Studio\2019\Community or C:\Program Files\Microsoft Visual Studio\2022\Preview. If VSInstallDir is not supplied, invokes Get-VSInstallDir with default parameters.

About

A collection of scripts and modules to assist in tasks related to Visual Studio and MSBuild Tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages