Compling Web Application From Command Prompt

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gokhan Can

    #1

    Compling Web Application From Command Prompt

    Is it possible to compile a web application code from command prompt instead
    of .Net Framework??
    If it is how can I do this ??

    Gökhan Can


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Compling Web Application From Command Prompt

    Gokhan,

    From what I understand, no, it is not. In order to get around this, it
    is recommended that you browse through all of the pages yourself to initiate
    the compilation.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - nick(dot)paldin o=at=exisconsul ting<dot>com

    "gokhan Can" <gokhanc@datasi stem.com.tr> wrote in message
    news:uOtPF3AiDH A.2336@TK2MSFTN GP12.phx.gbl...[color=blue]
    > Is it possible to compile a web application code from command prompt[/color]
    instead[color=blue]
    > of .Net Framework??
    > If it is how can I do this ??
    >
    > Gökhan Can
    >
    >[/color]


    Comment

    • Selvin

      #3
      Re: Compling Web Application From Command Prompt

      [color=blue]
      > Is it possible to compile a web application code from command prompt[/color]
      instead[color=blue]
      > of .Net Framework??[/color]
      if you mean VS.NET insted of .NET Framework the answer is: yes it is
      possible
      but if you realy mean about .NET Framework as ..NET Framework the
      answer is: no it isn't possible
      [color=blue]
      > If it is how can I do this ??[/color]

      cd Catalog_where_y ou_have_yours_w eb_app_source

      csc /t:library /out:./bin/name_of_web_app .dll *.cs

      pozdrawiam

      Przemek Sulikowski



      Comment

      • Dmitriy Lapshin [C# / .NET MVP]

        #4
        Re: Compling Web Application From Command Prompt

        Nicholas,

        Not sure the original poster wants just that, but one could use the csc/vbc
        command line compiler to build all the code-behinds?

        Or, develop a small script in VBS crawling through the website with XMLHTTP
        :-) But this option won't compile the code-behinds - it will just get the
        static part merged with the \bin folder contents.

        --
        Dmitriy Lapshin [C# / .NET MVP]
        X-Unity Test Studio

        Bring the power of unit testing to VS .NET IDE


        "Nicholas Paldino [.NET/C# MVP]" <nicholas.paldi no@exisconsulti ng.com> wrote
        in message news:OH7jUZBiDH A.2536@TK2MSFTN GP10.phx.gbl...[color=blue]
        > Gokhan,
        >
        > From what I understand, no, it is not. In order to get around this,[/color]
        it[color=blue]
        > is recommended that you browse through all of the pages yourself to[/color]
        initiate[color=blue]
        > the compilation.
        >
        > Hope this helps.
        >
        >
        > --
        > - Nicholas Paldino [.NET/C# MVP]
        > - nick(dot)paldin o=at=exisconsul ting<dot>com
        >
        > "gokhan Can" <gokhanc@datasi stem.com.tr> wrote in message
        > news:uOtPF3AiDH A.2336@TK2MSFTN GP12.phx.gbl...[color=green]
        > > Is it possible to compile a web application code from command prompt[/color]
        > instead[color=green]
        > > of .Net Framework??
        > > If it is how can I do this ??
        > >
        > > Gökhan Can
        > >
        > >[/color]
        >
        >[/color]

        Comment

        Working...