linux - Can we call or execute C# Source code from Bash Script? -


I need to answer only one question we *. You can use CS files or run * .exe files created by Microsoft Visual. Studio from Bash script or Linux command prompt?

You at the command prompt with the following statement on Linux Mono:

  Mono microgram. XE   

Created with Visual Studio is not runable by the mono on the executable as @AOWSLC has suggested that you make it an order like alcohol If you are using alcohol, keep in mind that this is a compatibility at the top of Linux. Layer, so I would recommend Mono as a safe perspective.

If you start with a .cs file, you can not run it with mono because obviously it is not an executable you can compile it with the following command:

  mcs myprogram.cs   

If the .cs code generated in Visual Studio is compatible with the Mono Framework, the compiler will generate an exe file which you can set up on the mono can run with the command.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -