![]() |
|
#1
|
|||
|
|||
VC# compile problemI 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. |
|||
|
#2
|
||||
|
||||
Re: VC# compile problemUnder the Visual Studio Tools submenu (or something similar) you should find the "Visual Studio Command Prompt', which will have the environment set for using the compiler.
To invoke it from the normal prompt, you can navigate to the installation location - usually "C:\WINDOWS\Microsoft.NET\Framework\{version-number}". To invoke it from any location, you need to add the path to the Environment Variables. Don't forget to restart Visual Studio. If you start it by opening the .sln file, make sure you restart the File Manager as well (Total Commander, for instance), since the IDE will inherit the Environment Variables from it. Best regards. Lucian __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
|
#3
|
||||
|
||||
Re: VC# compile problemMoved to the .NET Forum.
__________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
Recent GIDBlog
Install Adobe Flash - Without Administrator Rights by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Knights tour problem (using brute force) | harry1617 | C++ Forum | 5 | 21-Apr-2008 15:11 |
| g++ compile error, somewhat difficult problem | mfergus3 | C++ Forum | 6 | 28-Sep-2007 01:10 |
| Torrents Download Problem | chandeep | Computer Software Forum - Linux | 7 | 09-Oct-2006 22:37 |
| conditional compile logic | cable_guy_67 | C++ Forum | 15 | 03-Dec-2005 18:44 |
| a significant problem after installing Xp | mohammad | Computer Software Forum - Windows | 10 | 09-Aug-2005 07:03 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The