| | |
VC# compile problem
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2008
Posts: 80
Reputation:
Solved Threads: 0
I installed VC# 2008 Express. Following the lessons at C# School at programmersheaven.com, I tried to compile the sample app HelloWorld from the command prompt via:
csc HelloWorld.cs
but I got back:
'csc' is not recognized as an internal or external command, operable program or batch file.
As far as I know, the VC# install is OK. When I did the install, it said it was also installing .Net 3.5, SQL and a lot of other stuff, so I assume it also installed the actual compiler(s). When I click on the desktop icon, the IDE comes up without any error messages.
I didn't try to compile from the IDE though, because it looked a bit more involved, so I thought I'd follow the lessons in order.
Any idea where I went wrong?
P.S. I'm running under Windows XP Professional, Service Pack 2.
csc HelloWorld.cs
but I got back:
'csc' is not recognized as an internal or external command, operable program or batch file.
As far as I know, the VC# install is OK. When I did the install, it said it was also installing .Net 3.5, SQL and a lot of other stuff, so I assume it also installed the actual compiler(s). When I click on the desktop icon, the IDE comes up without any error messages.
I didn't try to compile from the IDE though, because it looked a bit more involved, so I thought I'd follow the lessons in order.
Any idea where I went wrong?
P.S. I'm running under Windows XP Professional, Service Pack 2.
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 137
maybe i'm more of an ide guy than command line, but for the editor, you just need to add a class and click Build - Build Solution and voila!!!!
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
In the pro version you can have a command window with all the needed paths preinstalled in the PATH variable.
In the express version you can use the "Create your first application" on the startpage. It opens a window wich contains a link to creating a console application as well.
But to be honest I'm more a dickersonka kinda guy! Use the IDE! Use the commandline if you absolutly can't do without it. I have seen enough unix commandlines in my life to know what I'm talking about.
In the express version you can use the "Create your first application" on the startpage. It opens a window wich contains a link to creating a console application as well.
But to be honest I'm more a dickersonka kinda guy! Use the IDE! Use the commandline if you absolutly can't do without it. I have seen enough unix commandlines in my life to know what I'm talking about.
Last edited by ddanbe; Nov 18th, 2008 at 2:00 pm. Reason: typo
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Make love, no war. Cave ab homine unius libri.
Danny
![]() |
Similar Threads
- class and function problem (C++)
- beginner compile problem (Assembly)
- problem installing linux drivers, help me and ya got my respect!!! (*nix Hardware Configuration)
- problem with my program!! (C++)
- Windows XP problem on new computer (Windows NT / 2000 / XP)
- c++ compiling problem (C++)
- static compile (Visual Basic 4 / 5 / 6)
Other Threads in the C# Forum
- Previous Thread: Cant end the excel process
- Next Thread: PLZ HELP
| Thread Tools | Search this Thread |
.net access ado.net algorithm array barchart bitmap box broadcast buttons c# cast check checkbox client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms function gdi+ httpwebrequest image index input install java label list listbox listener mailmerge mandelbrot math mouseclick mysql operator path photoshop picturebox pixelinversion post programming radians regex remote remoting richtextbox robot save saving serialization server sleep socket sockets sql sql-server statistics stream string stringformatting sun table tcp text textbox thread time timer update usercontrol validation view visualstudio webbrowser windows winforms wpf xml






