Welcome › Forums › General PowerShell Q&A › Code to pre-compile ASP.NET project?
This topic contains 0 replies, has 1 voice, and was last updated by Steve 1 year ago.
I have the following code to compile vb.net (ASP.NET) projects created in Visual Studio:
$aspnetCompiler = (Join-Path $env:windir 'Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler')
& $aspnetCompiler -p "C:\Users\Steve\Documents\Visual Studio 2017\mySite\Frina.aspx" -v /-u "C:\Frina6Dec"
It is advisable, however, to pre-compile projects and I wonder if anyone knew the code for that?
The topic ‘Code to pre-compile ASP.NET project?’ is closed to new replies.