public
Created

aspnet compile script for SolutionScripts

  • Download Gist
ac.ps1
PowerShell
1 2 3 4 5 6 7 8
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
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.