Command Window

The commad prompt is the command window right   Well how come when i add the line csc /t:module StringLib.cs it says it invalid...I am trying to issue a command to compile it as a module that is not apart of the assembly any help out there

I got  it to compile using cmd then i enter just the letter t but then i want to open the MSIL disassembler with this line ilasm StringLib.netModule but it says that its invalid........Any help




Answer this question

Command Window

  • Kavi

    DPowers,

    In the command windows, you must change the current directory to your application directory, that one where your .cs file is saved. For example, suppose that your application directory is c:\MyApps\SomeExercise. So, you must type:

    cd \MyApps\SomeExercise

    Now you can type the compiler command.

  • hle

    when i put in my command line it says no inputs specified

  • reidca

    Hello,

    Actually you have to try this commands in the command prompt. The best way to perform this commands is through the Visual Studio Command Prompt.

    Select the Windows menu Start-> Programs -> Microsoft Visual Studio .Net -> Visual Studio .Net Tools -> Visual Studio .Net Command Prompt. It will open a command prompt with the environment already set, so you can go to your application directory and try to compile your program.


  • Command Window