Invoke-MsBuild
2.7.3
Executes the MSBuild.exe tool against the specified Visual Studio solution or project file.
Minimum PowerShell version
2.0
Installation Options
Owners
Copyright
(c) 2016 Dan.Schroeder. All rights reserved.
Package Details
Author(s)
- Dan.Schroeder
Tags
Invoke MsBuild Invoke-MsBuild Build Compile
Functions
Dependencies
This module has no dependencies.
Release Notes
Fixes:
- Find latest VsDevCmd.bat correctly when Visual Studio 2026 is installed.
- Fix issue where if only a single Visual Studio instance is installed, an error is thrown when trying to find the latest MSBuild.exe file.
FileList
- Invoke-MsBuild.nuspec
- Invoke-MsBuild.psd1
- Invoke-MsBuild.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.7.3 (current version) | 7,637 | 11/14/2025 |
| 2.7.2 | 828 | 11/13/2025 |
| 2.7.1 | 399,671 | 12/11/2021 |
| 2.7.0 | 64 | 12/11/2021 |
| 2.6.5 | 21,862 | 10/29/2020 |
| 2.6.4 | 52,551 | 2/1/2019 |
| 2.6.3 | 60 | 2/1/2019 |
| 2.6.2 | 7,001 | 7/3/2018 |
| 2.6.1 | 1,293 | 5/1/2018 |
| 2.6.0 | 6,891 | 5/15/2017 |
| 2.5.1 | 278 | 4/22/2017 |
| 2.5.0 | 76 | 4/21/2017 |
| 2.4.2 | 68 | 4/20/2017 |
| 2.4.1 | 72 | 4/20/2017 |
| 2.4.0 | 179 | 4/2/2017 |
| 2.3.1 | 61 | 4/1/2017 |
| 2.3.0 | 81 | 3/31/2017 |
| 2.2.0 | 1,195 | 12/2/2016 |
| 2.1.1 | 400 | 9/14/2016 |
| 2.1.0 | 394 | 6/24/2016 |
| 2.0.0 | 302 | 5/25/2016 |
| 1.6.3 | 162 | 4/6/2016 |
| 1.6.2 | 62 | 4/6/2016 |
| 1.6.1.2 | 116 | 3/7/2016 |
| 1.6.1.1 | 64 | 3/4/2016 |
| 1.6.0 | 74 | 3/1/2016 |