CSC.exe flashing a moment and dissapears

Hi,

My problem is that when i click CSC.exe (I'm trying to compile using command line compiler obviously), it flashes a second and dissapears.

Does anyone have a solution for this I found another thread which taught me how to get there using cmd and typing the path to CSC.exe

but I'd like to know if it's possible to just click on CSC.exe and write program from there.

Thanks.




Answer this question

CSC.exe flashing a moment and dissapears

  • respag

    The command-line compiler (csc) is used to create a program or library from an existing source-code file. So, the short answer is "no, you don't write a program _after_ running csc.exe." The slightly longer answer is that you can use any text editor (Notepad, Visual Studio, etc.) to create a file (say, "hello.cs") and then compile it on the command-line using a command such as "csc hello.cs".
  • ideas

    To write a C# application in Visual C# Express Edition you need to start

    C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\VCSExpress.exe

    If you used standard installation paths, it should also be a shortcut in the start menu.

    Microsoft Visual C# 2005 Express Edition

    When you start any of those you will be presented with the C# Express development environment where you can create a new project from and write programs.



  • CSC.exe flashing a moment and dissapears