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?
C# Mystery:
Started by xarzu, Feb 01 2008 11:25 AM
3 replies to this topic
#1
Posted 01 February 2008 - 11:25 AM
|
|
|
#2
Posted 02 February 2008 - 12:36 AM
You could check the output-file, and see what it is. It may be a static or dynamic library.
#3
Posted 04 February 2008 - 05:14 AM
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
thats wat my textbok says but i dont quite understand it so if you do plz tell me :P
#4
Posted 04 February 2008 - 12:24 PM
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


Sign In
Create Account


Back to top









