Skip to content
Create a gist now

Instantly share code, notes, and snippets.

aspnet compile script for SolutionScripts
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
Something went wrong with that request. Please try again.