473,385 Members | 2,013 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,385 software developers and data experts.

Another Newibie Post: Path to csc.exe

Hello, Everyone!

My Visual Studio IDE seems to be working properly but command line
compilation won't work because csc.exe is not in the path statement.

When I try to envoke the compiler (with a "csc filename.cs", from within the
directory where the source file is located), I get an error message: ""csc"
is not recognized as an internal or external command, operable program or
batch file".

I have three copies of csc.exe on my XP Pro SP2 system thus:

C:\WINDOWS\ServicePackFiles\i386\csc.exe 8/3/2004 9:11 PM
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc.e xe 7/15/2004 4:34 AM
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.e xe 7/15/2004 11:23 AM

The .NET Framework SDK is installed on the system.
The Platform SDK for Windows XP SP2 is installed on the system.

Doesn't the .NET Framework SDK put the path to the (correct version of)
csc.exe in the path statement?
Thanks in advance for any comments,

John Adcock


Nov 16 '05 #1
1 7224
Nope. If you take a look at the start folders for VS.Net it has a
command line batch file that sets them up for you. Here's a link to a
registry hack that will allow you to open a command prompt with the
vs.net settings already made (or so they claim). Hope it helps

http://www.larkware.com/Articles/VS....romptHere.html

Have A Better One!

John M Deal, MCP
Necessity Software

John Adcock wrote:
Hello, Everyone!

My Visual Studio IDE seems to be working properly but command line
compilation won't work because csc.exe is not in the path statement.

When I try to envoke the compiler (with a "csc filename.cs", from within the
directory where the source file is located), I get an error message: ""csc"
is not recognized as an internal or external command, operable program or
batch file".

I have three copies of csc.exe on my XP Pro SP2 system thus:

C:\WINDOWS\ServicePackFiles\i386\csc.exe 8/3/2004 9:11 PM
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc.e xe 7/15/2004 4:34 AM
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.e xe 7/15/2004 11:23 AM

The .NET Framework SDK is installed on the system.
The Platform SDK for Windows XP SP2 is installed on the system.

Doesn't the .NET Framework SDK put the path to the (correct version of)
csc.exe in the path statement?
Thanks in advance for any comments,

John Adcock

Nov 16 '05 #2

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

Similar topics

10
by: JDS | last post by:
Hi all. I don't know if this is possible, and if it is, whether it needs to be done within Apache configuration or PHP configuration, but here goes: I am migrating my web server to another...
4
by: ejswanson | last post by:
I need to have a button on a web page that posts information contained on this page to another web page on a completly separate site? How do I accomplish this? Thanks Eric
23
by: **Developer** | last post by:
Is there an easy way to copies all files in a directory into another directory? What about coping subdirectories too? Thanks in advance for any info
4
by: lawrence k | last post by:
If I've a big string and I want to send it to another web page as a GET request, I just use file(). I've done this often. But what command do I use when I want to send the same string as a POST...
7
by: Eric S. Johansson | last post by:
is there anyway I can, in a setup.py file, set and internal equivalent to the '--install-scripts' commandline option? script installation directory but I don't want on the command line where...
9
by: Stimp | last post by:
I'm trying to copy an asp.net project onto another computer in order to work on it from there as well. Whatever way I set up the directory in IIS the project cannot be run on the new computer (I...
2
by: Sandman | last post by:
Ok, so I'm the author of a pretty big CMS system (big as in huge, not market-share big) and I've been thinking about a problem for a few weeks here on media management. The CMS accomodates both...
1
by: amritranjan | last post by:
How to retrive image file from MS access database and display this in another JSPpage -------------------------------------------------------------------------------- This is my Jsp code for...
34
by: Alexnb | last post by:
Gerhard Häring wrote: No, it didn't work, but it gave me some interesting feedback when I ran it in the shell. Heres what it told me: Traceback (most recent call last): File...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.