Resolve-MSBuild

1.5.0

The script finds the path to the specified or latest version of MSBuild.
It is designed for MSBuild 16.0, 15.0, 14.0, 12.0, 4.0, 3.5, 2.0.

For MSBuild 15+ the command uses the module VSSetup, see PSGallery.
If VSSetup is not installed then the default locations are used.
VSSetup is required for not default installations.

MSBuild 15+ resolution: the latest major vers
The script finds the path to the specified or latest version of MSBuild.
It is designed for MSBuild 16.0, 15.0, 14.0, 12.0, 4.0, 3.5, 2.0.

For MSBuild 15+ the command uses the module VSSetup, see PSGallery.
If VSSetup is not installed then the default locations are used.
VSSetup is required for not default installations.

MSBuild 15+ resolution: the latest major version (or absolute if -Latest),
then Enterprise, Professional, Community, BuildTools, other products.

For MSBuild 2.0-14.0 the information is taken from the registry.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Resolve-MSBuild

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Roman Kuzmin

Copyright

(c) Roman Kuzmin

Version History

Version Downloads Last updated
1.5.0 (current version) 203 10/16/2019
1.4.1 53 4/9/2019
1.4.0 11 4/3/2019
1.3.0 109 3/17/2018
1.2.1 47 12/6/2017
1.2.0 98 7/28/2017
1.1.2 7 7/26/2017
1.1.1 28 6/29/2017
1.1.0 47 4/4/2017
1.0.1 17 3/20/2017
1.0.0 9 3/18/2017