Jump to content

C# Mystery:

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
xarzu

xarzu

    Newbie

  • Members
  • PipPip
  • 14 posts
While trying to run someone elses example code, Visual Studio 2005 never produced an executable even though the build process was successful. Do you have any idea why this might be?

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
You could check the output-file, and see what it is. It may be a static or dynamic library.

#3
Nille

Nille

    Learning Programmer

  • Members
  • PipPipPip
  • 41 posts
The code is normaly saved in textfiles with names that has .cs as a ending. If the compiler is started with the command csc and the file is named hello.cs will csc hello.cs at the commandprompt generate the file hello.exe

thats wat my textbok says but i dont quite understand it so if you do plz tell me :P

#4
VCKicks

VCKicks

    Newbie

  • Members
  • PipPip
  • 24 posts
Basically if Visual Studio isn't generating the exe file then you can use the command-prompt to run the compiler, giving it the .cs file as parameter. By default it'll use the same name of the .cs file.
Visual C# Kicks - Everything C#.NET programming related