Transcend 4 GB Class 6 SDHC Flash Memory Card TS4GSDHC6
Before you can begin to make use of the c# command line compiler,you need to ensure that your development machine recognizes the existence of csc.exe.Ideally, csc.exe is configured correctly at the time you install .NET SDK. However ,in my experiences teaching various .NET classes,I have found out the hard way (typically during the first code demo) this is not always the case . If csc.exe is not configured correctly ,you are forced to change to the directory containing csc.exe before you can compile your program ( which is massive pain in the neck, given that you must type in the full path name to the *.cs files to be compiled ).
To equip development machine to compile *.cs files from any subdirectory, follow these steps
- Right-click the My computer icon and select properties from the pop up menu.
- select the advanced tab and click the environment variable button.
- Double click the path variable from the system variable list box.
- Add the following line to the end of the current value (note each value in the path variable is separated by a semicolon)
:\%windir%\Microsoft.NET\Framework\v1.1.4322
added the correct path setting, you may take a test run by closing any command windows open in the background ( to commit the settings),then open a new command window and enter csc -?
If you set things up correctly,you should see a display of each option supported by the raw c# compiler
