473,795 Members | 3,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1920
"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\Micr osoft.NET\Frame work\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\Micr osoft.NET\Frame work\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******@NOSPA Mgmail.com> schrieb im Newsbeitrag
news:q5******** ************@rc n.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
4873
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 environment. it is simply called borland c++ 5.01 can anyone tell me where i can download either a free copy or a copy that needs registering or someething, i can only find c++ builder which is totally different from the program i have seen in...
9
4558
by: happy | last post by:
I need to download Command line C compiler ASAP ? Where can I find the latest and moden one ?
4
1636
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. Thank you in advance for any suggestion? === The project is a nearly empty Windows Form project, and the compilation works fine as far as there is no bitmap in the project form. I have to use the command line compiler and I use the following...
10
3287
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 article 320004 except that particular problem was
3
4919
by: michael | last post by:
How can I compile my VS.NET ASP.NET project from the command line?
4
2208
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 is being used to compile a VB.NET project (c.f. C++ which shows this under project options/Linker). This would be very useful as one could explicitly see which assemblies were being included in each project; it would also be a good starting...
7
6650
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 code 1. Clicking the "Show Detailed Compiler Output" link on the error page shows a large command line that looks like it's using the vbc compiler to build the auto-generated theme code, but doesn't display any useful error messages. Executing...
1
3780
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 linux box using rsh it gives me the errors below Microsoft (R) Development Environment Version 7.10.3077. Copyright (C) Microsoft Corp 1984-2001. All rights reserved. ------ Build started: Project: SigComp, Configuration: Release Win32 ------...
13
4208
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
3380
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
10437
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10214
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10164
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10001
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9042
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3723
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.