Cmd Builder similar to the look of All

Asked

Viewed 44 times

1

Hello to everyone I would like to know how to do that when I click a button my program compile Cs files and more to make one . exe and run as the visual.

  • " like the visual studio" you are using which IDE ? you need to add more details than you want to make your statement is a bit confusing .

  • i want to do that when I click on a button do the same as in visual studio when you click on start

  • Let me get this straight, you want to save the.Cs and.exe project files to a specific directory ?

  • I don’t want to do what the viual stuio does when you click start

1 answer

1


Hello can run the following command at the system prompt using Csharp Compiler (CSC.EXE):

csc File.cs 

To learn more visit: Command-line Building With csc.exe

I hope I’ve helped!

  • cmd says it is not recognized as a command

  • Look at the sloth.... In the link I sent you have this text: The executable file for csc.exe is generally located in the Microsoft.NET framework deVersion folder in the Windows directory. Location may vary depending on the precise configuration of a specific computer. If more than one version of the.NET Framework is installed on your computer, you will find several versions of that file. For more information on how these installations work, see Determining Which Version of the . NET Framework Is Installed.

  • I’m seeing the link I’m just dumb (I’m not kidding)

  • C: Windows Microsoft.NET Framework v4.0.30319 in my case!

  • If you prefer to add your folder to the Windows Path for the file to be located and executable anywhere: [http://answall.com/questions/5024/como-mudar-o-path-nos-windows]

  • only one more thing when I run closes soon is supposed to happen that?

  • Open Command and give one CD \Windows\Microsoft.NET\Framework\v4.0.30319 Then type CSC ! If you just click it will open the command and close!

  • 1

    Thank you for your help if there is any way to reward you say

Show 3 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.