tag:blogger.com,1999:blog-6006114617625504970.post2711929521271721652..comments2024-02-07T23:38:24.874-05:00Comments on Linux Blog: How to Compile and Run C# .NET application on Ubuntu - monoDevOpshttp://www.blogger.com/profile/02331067901785181627noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6006114617625504970.post-51117519696874896282013-02-14T17:23:35.622-05:002013-02-14T17:23:35.622-05:00The sample program is C, not C#. If you're fol...The sample program is C, not C#. If you're following this blog post, try this simple program instead:<br /><br />using System;<br />using System.Text;<br /><br />namespace TestApplication<br />{<br /> class Program<br /> {<br /> static void Main(string[] args)<br /> {<br /> System.Console.WriteLine("Testing");<br /> }<br /> }<br />}<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-17875434321061535102013-01-07T17:15:38.200-05:002013-01-07T17:15:38.200-05:00why would I want to introduce a massive pile of cr...why would I want to introduce a massive pile of crap ( .net ) to my linux box?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-5915789577856239342012-11-11T12:47:07.970-05:002012-11-11T12:47:07.970-05:00looks good.looks good.DevOpshttps://www.blogger.com/profile/02331067901785181627noreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-18955439879390146922012-11-10T12:23:43.437-05:002012-11-10T12:23:43.437-05:00At this point, i'm using Python to execute bin...At this point, i'm using Python to execute binary file:<br /><br />if plaftform.system() == 'Linux':<br /> cmd = 'mono hello.exe'<br />elif platform.system() == 'Windows':<br /> cmd = 'hello.exe'<br /><br />And i'm using subprocess.Popen to run it in shell. <br />Thanks for help =)<br />If you find other way to do it without other language, post here, please. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-7447731720205011512012-11-09T21:58:51.874-05:002012-11-09T21:58:51.874-05:00In that case you can write a very simple java appl...In that case you can write a very simple java application and detect the OS and if it's Dos ... you can lunch .exe from the java application and if it;s linux/Unix .. you can use "mono foo.exe" to start you application.<br /><br />At this point I can only think of this.<br />let me know if this works.<br />DevOpshttps://www.blogger.com/profile/02331067901785181627noreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-57210469288637477872012-11-09T16:42:45.608-05:002012-11-09T16:42:45.608-05:00If I write a bash script to execute, it will not b...If I write a bash script to execute, it will not be cross platform =/ I want to execute .exe files with the same command in DOS and bash: './hello.exe'Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-67126918397258127292012-11-08T13:51:18.157-05:002012-11-08T13:51:18.157-05:00Write a simple bash script to execute your exe fil...Write a simple bash script to execute your exe file.DevOpshttps://www.blogger.com/profile/02331067901785181627noreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-85130580644742961072012-11-08T13:18:59.040-05:002012-11-08T13:18:59.040-05:00Is there a way to execute the CIL binary without t...Is there a way to execute the CIL binary without type '$ mono hello.exe'? I want to execute just typing './hello.exe' on my Ubuntu.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-60561896757878850372012-04-22T23:03:26.964-04:002012-04-22T23:03:26.964-04:00Thanks for this. I do my schoolwork on a netbook s...Thanks for this. I do my schoolwork on a netbook so I don't like running the IDE because it slows things down and is cramped on a tiny screen. This is perfect.Rileyhttps://www.blogger.com/profile/11428295701997632778noreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-12623155240057333442012-04-19T15:48:26.880-04:002012-04-19T15:48:26.880-04:00Hello! Nice blog. I would like to point out that t...Hello! Nice blog. I would like to point out that the hello.cs code you have presented is not C#. It is C.Anonymousnoreply@blogger.com