Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 4th, 2006, 10:57 PM   #1
Brooke
Newbie
 
Join Date: Jan 2006
Posts: 23
Rep Power: 0 Brooke is on a distinguished road
.cs to .exe

How do I turn a .cs into a .exe executable file???
__________________
classic-chick.net
Brooke is offline   Reply With Quote
Old Mar 4th, 2006, 11:12 PM   #2
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 383
Rep Power: 4 xavier is on a distinguished road
Send a message via Yahoo to xavier
You press F5 in order to run the program. You'll find the *.exe in the bin -> Debug folder if i remember correctly.
__________________
Don't take life too seriously, it's not permanent !
xavier is offline   Reply With Quote
Old Mar 4th, 2006, 11:16 PM   #3
Brooke
Newbie
 
Join Date: Jan 2006
Posts: 23
Rep Power: 0 Brooke is on a distinguished road
Thank you!
__________________
classic-chick.net
Brooke is offline   Reply With Quote
Old Mar 5th, 2006, 1:56 PM   #4
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
But if you want a release version then you can click on "Build" and then on "Configuration Manager" and select "Release" instead of "Debug".
Changing it into "Release" might make it faster and smaller, but if you are wanting to debug it then change your configuration back to "Debug".
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Mar 6th, 2006, 11:29 AM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
If you right-click the toolbars and turn on the Debug toolbar, you also get a little drop-down box so you can quickly switch between Debug and Release modes.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Nov 7th, 2006, 6:26 PM   #6
milot
Programmer
 
milot's Avatar
 
Join Date: Nov 2006
Location: Kosovė/Prishtinė
Posts: 47
Rep Power: 0 milot is on a distinguished road
Or you can do right from your command prompt, but first you must edit your Environment variables on your System Properties in Advanced tab then find where `Path` is located and try adding this to the end:
;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

Note: that ; is the separator between other paths included in Path environment variable.

and then you can compile your .cs file like shown below:

csc /target:exe yourFile.cs


P.S: .NET Framework version can vary, for that reason i marked Bold and Italic.


Regards,
Milot
milot is offline   Reply With Quote
Old Nov 7th, 2006, 6:45 PM   #7
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 852
Rep Power: 4 The Dark is on a distinguished road
Milot, there is no need to bump 8 month old threads. You can probably assume that the original poster has either solved the problem, or given up on it. the 6 week old thread yesterday was bad enough, but 8 months is way too long.
The Dark is offline   Reply With Quote
Old Nov 7th, 2006, 6:55 PM   #8
milot
Programmer
 
milot's Avatar
 
Join Date: Nov 2006
Location: Kosovė/Prishtinė
Posts: 47
Rep Power: 0 milot is on a distinguished road
Quote:
Originally Posted by The Dark View Post
Milot, there is no need to bump 8 month old threads. You can probably assume that the original poster has either solved the problem, or given up on it. the 6 week old thread yesterday was bad enough, but 8 months is way too long.
I'm sorry because I didn't look at the date! Now i looked at it and I'm sorry for this but I a little enthusiast for helping people so that's my mistake, it wont happen again.
milot is offline   Reply With Quote
Old Nov 7th, 2006, 6:57 PM   #9
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 852
Rep Power: 4 The Dark is on a distinguished road
Hey, no problem. Its always good to have more people helping.
Welcome to the forums!
The Dark is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:07 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC