Skip to content

Instantly share code, notes, and snippets.

@cubanx
Created October 5, 2016 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cubanx/5bf3756c858b27b83a1b2573c0fc7b93 to your computer and use it in GitHub Desktop.
Save cubanx/5bf3756c858b27b83a1b2573c0fc7b93 to your computer and use it in GitHub Desktop.
function build($pathToSolution, $configuration) {
if (-not $configuration) {
$configuration = "Debug"
}
& (Join-Path ${env:ProgramFiles(x86)} "MSBuild\14.0\Bin\msbuild.exe") /p:Configuration=$configuration /v:minimal $pathToSolution
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment