Code to pre-compile ASP.NET project?

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