473,394 Members | 1,971 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,394 software developers and data experts.

ASP.NET command line compiler?

How can I compile my VS.NET ASP.NET project from the command line?
Nov 18 '05 #1
3 4904
I believe VS.NET's executable devenv.exe has capability to do that from
commandline (without GUI) but it won't help if you need to do that in a
machine where VS.NET isn't installed.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"michael" <mp********@sbcglobal.net> wrote in message
news:ef***************@tk2msftngp13.phx.gbl...
How can I compile my VS.NET ASP.NET project from the command line?

Nov 18 '05 #2
You probably want to use the compiler for the language, not the IDE. Visual Studio is not a language itself

<language compiler> filename <options

C# command line cimpiler name: cs
VB command line cimpiler name: vb

So for compiling a C# file named myFile.cs the syntax would be: csc myFile.c

You can look up the syntax for multi file assemplies etc, but you might not have been having any luck becuase the command line compiler info is for the language used. You do not need Visual Studio installed on the machine, but you do need the .Net Framework

Joh

Nov 18 '05 #3
Does this build my .aspx files as well - or is that needed?

"John Scragg" <Jo*********@hotmail.com_remove> wrote in message
news:11**********************************@microsof t.com...
You probably want to use the compiler for the language, not the IDE. Visual Studio is not a language itself.
<language compiler> filename <options>

C# command line cimpiler name: csc
VB command line cimpiler name: vbc

So for compiling a C# file named myFile.cs the syntax would be: csc myFile.cs
You can look up the syntax for multi file assemplies etc, but you might not have been having any luck becuase the command line compiler info is for
the language used. You do not need Visual Studio installed on the machine,
but you do need the .Net Framework.
John

Nov 18 '05 #4

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

Similar topics

9
by: happy | last post by:
I need to download Command line C compiler ASAP ? Where can I find the latest and moden one ?
2
by: Jax | last post by:
I have VStudio2002 standard, yes it sucks, yes you can laugh as me as long as the laugh carries some pity. Problem being is that there is no standard template for creating a custom control. I...
4
by: Francesco Martinelli | last post by:
I need to create a multiple file assemby: this requires working directly with the command line compiler (no IDE support!). After a few tests I found my problem comes from the issue described below....
3
by: John Salerno | last post by:
I just installed the SDK, but when I typed csc /help on the command line (from the C: directory), it said 'csc' wasn't a recognized command. Why didn't that work? Do I need to be in a different...
1
by: Lionel | last post by:
Hi everyone, I've been practicing C# by writing some programs with the downloadable SDK from Microsoft. I'm writing the programs using Notepad and compiling with the command line compiler. I...
4
by: billben74 | last post by:
Despite advances in devstudio .NET building large projects can still be difficult. Is there a way, perhaps using EnvDev class or some other class that would allow output of the "command line" that...
4
by: Bit byte | last post by:
I have a project that I normally build (without problems) from the DevStudio IDE. However, I have embarked on automating all my builds (this test project being one of several). The project...
0
by: GT | last post by:
Hello I'm trying to embed .resource files into a Windows application in VS2005, and then compile and run the program from VS2005. This does not work because the debugger seems not find the...
6
by: virgincita schmidtmann | last post by:
Good evening, I would like to pass the size of an array from the commandline. int main(int argc, int *argv) { .... max=*argv; int list; ....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.