Skip to content

Instantly share code, notes, and snippets.

@vladimir-kotikov
Created March 4, 2015 19:24
Show Gist options
  • Save vladimir-kotikov/9530255c63ffe0768e36 to your computer and use it in GitHub Desktop.
Save vladimir-kotikov/9530255c63ffe0768e36 to your computer and use it in GitHub Desktop.
Detect MSBuild.exe location using system functions
# MSBuild.exe location. Acquired using system functions
[String]$msBuild = [System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory() + "MSBuild.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment