Created
January 6, 2012 17:37
-
-
Save mhinze/1571601 to your computer and use it in GitHub Desktop.
aspnet compile script for SolutionScripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function global:aspcomp() | |
{ | |
$dir = Join-Path $solutionScriptsContainer "..\Your.Web.Project" -Resolve | |
$bin = Join-Path $dir "bin" | |
$compiler = Join-Path $([System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()) "aspnet_compiler.exe" | |
& $compiler -p $dir -v $bin | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment