Code to pre-compile ASP.NET project? This topic contains 0 replies, has 1 voice, and was last updated by Steve 6 days, 15 hours ago. Author Posts December 7, 2017 at 6:26 pm #87577 SteveParticipant Hello 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? Thank you. Steve Author Posts You must be logged in to reply to this topic.