-
-
Notifications
You must be signed in to change notification settings - Fork 7
Get MsBuildPath
Apostolis Bekiaris edited this page Apr 26, 2020
·
7 revisions
Returns the MSBuild path.
Get-MsBuildPath [<CommonParameters>]
Returns the MSBuild path. The function uses the the vswhere
.
PS C:\> Get-MsBuildPath
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe
Output the path of the latest VS version installed.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.