Skip to content

Instantly share code, notes, and snippets.

@taisyo7333
Last active August 27, 2015 11:08
Show Gist options
  • Save taisyo7333/416ff7f6cf6016bf8b84 to your computer and use it in GitHub Desktop.
Save taisyo7333/416ff7f6cf6016bf8b84 to your computer and use it in GitHub Desktop.
Visual Studio -- Build Script by powershell.
$target = 'ソリューション名.sln'
$config = 'Release'
#Rebuild,Build,Clean
$type = 'Rebuild'
$ms_build_path = 'C:\Windows\Microsoft.NET\Framework\v4.0.30319;'
$env:Path = $env:Path + ';' + $ms_build_path
# /m -> concurrent build
#(e.g) MSBuild $target /t:Rebuild /p:Configuration=Release /m
MSBuild $target /m /t:$type /p:Configuration=$config
@taisyo7333
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment