Code to pre-compile ASP.NET project?

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, 3 months ago.

  • Author
  • #87577

    Points: 42
    Rank: Member


    I have the following code to compile (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.


The topic ‘Code to pre-compile ASP.NET project?’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort