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

C# compiler on the command line?

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 directory?
Nov 16 '05 #1
3 1898
"John Salerno" wrote:
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 directory?


Command prompt uses the PATH environment variable to locate programs. Add
the directory containing the compiler to you path and you should be fine. On
my machine, the compiler is here:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Nov 16 '05 #2
MarkT [developmentor] wrote:
"John Salerno" wrote:
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 directory?

Command prompt uses the PATH environment variable to locate programs. Add
the directory containing the compiler to you path and you should be fine. On
my machine, the compiler is here:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322


Thanks. I guess I need to do a little more reading up on the command
line first.
Nov 16 '05 #3
you have to either type the full path where you installed the sdk in or you
have to add the path to your sdk to your PATH environment variable.

"John Salerno" <jo******@NOSPAMgmail.com> schrieb im Newsbeitrag
news:q5********************@rcn.net...
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 directory?

Nov 16 '05 #4

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

Similar topics

9
by: Christo | last post by:
hey im a student about to start a course in c++ at uni, we have been told to obtain a copy of borland c++ 5.01 (not c++ builder) this is just a program with a compiler/linker and development...
9
by: happy | last post by:
I need to download Command line C compiler ASAP ? Where can I find the latest and moden one ?
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....
10
by: PufferFish | last post by:
Hi folks, I hope that this is the correct group for these things, apologies if not. I've got a strange compiler error. It appears to be similar to the issue described in knowledgebase...
3
by: michael | last post by:
How can I compile my VS.NET ASP.NET project from the command line?
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...
7
by: Mark Carrington | last post by:
I'm developing a web app in .NET 2 using C#, and occasionally see this error, apparently something to do with the theme used on the site: Compiler Error Message: The compiler failed with error...
1
by: kvarada | last post by:
Hello Experts, I am building my application on WinNT.4.0_i386_MSVC.7.1 platform. When I build the application on a stand alone machine, it builds fine. But when I build the same application from a...
13
by: rufus | last post by:
Is there a C++ compiler for windows that can be run from the commmandline? I have only be able to find MS Visual Studio but its rather overkill since I also like to just use notepad for my code.
87
by: rufus | last post by:
Is there a C-compiler (and for that matter C++ compiler) for windows that can be run from the commmand line?
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:
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
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
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,...

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.