Compling Web Application From Command Prompt

  • Thread starter Thread starter gokhan Can
  • Start date Start date
G

gokhan Can

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
 
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,

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
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE


Nicholas Paldino said:
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)paldino=at=exisconsulting<dot>com

gokhan Can said:
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
 
Is it possible to compile a web application code from command prompt instead
of .Net Framework??
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
If it is how can I do this ??

cd Catalog_where_you_have_yours_web_app_source

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

pozdrawiam

Przemek Sulikowski
 
Back
Top