473,405 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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
Nov 15 '05 #1
3 1187
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" <go*****@datasistem.com.tr> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
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

Nov 15 '05 #2
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

Nov 15 '05 #3
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 [.NET/C# MVP]" <ni**************@exisconsulting.com> wrote
in message news:OH**************@TK2MSFTNGP10.phx.gbl...
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" <go*****@datasistem.com.tr> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
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



Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Luca Paganelli | last post by:
Hi everybody. I've got a simple but bothering problem. I've just written a little application in C#. I've got a set of business logic classes and a window forms GUI released as a set of...
4
by: rgarf | last post by:
I am trying to launch an executable application from my C# application. I tried using the Process class which did start the application but it did not show the command prompt window. My code is as...
2
by: tapaks | last post by:
Hi, I have a C# window application, and I would like to run this program from DOS. Does anyone know how to trigger the window application, and then close the program after it runs? Thanks
2
by: jam | last post by:
Hello all, how can I stop the current process when I am write a console application?? Also, can i run command prompt command in the console application?? the programme I am writing is to get...
4
by: glenn | last post by:
I keep reading all sorts of books on VS that keep telling me to click on Tools/Visual Studio Command prompt to run this program or that program. However, I do not have such a menu choice. Where is...
2
by: Roberto | last post by:
Hi, I am new using asp.net. I just installed visual studio.net but I can't open a new project using asp.net. Is there anything else I need to active or start so it would work? thank you
8
by: jcrouse | last post by:
I am trying to run a command from a command prompt using the shell command. Here is the syntax I want to execute: Shell(lblMameExePath.Text & " -listinfo >" & Application.StartupPath &...
4
by: Peter Nimmo | last post by:
Hi, I am writting a windows application that I want to be able to act as if it where a Console application in certain circumstances, such as error logging. Whilst I have nearly got it, it...
1
by: CeciMar | last post by:
I'm new to vb.net and I have a very simple console application. When I attempt to compile it at the command prompt I get error BC30420 Sub Main not found. I know the namespace and module name but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.