Jump to content



Photo

C# compilers, linux


  • Please log in to reply
14 replies to this topic

#1 Original Poster

Original Poster

    Systems Developer

  • Tech Issues Solved: 1
  • Joined: 15-July 08
  • Location: my room
  • OS: windows 7/8, Kali, ubuntu, OSx 10.9
  • Phone: Android

Posted 07 November 2012 - 21:27

i need a good (in your opinion) c# compiler for linux ..... I dont mind if its command line only im using ubuntu 10.4


#2 XerXis

XerXis

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 13-February 06
  • Location: Belgium

Posted 07 November 2012 - 21:31

mono

#3 OP Original Poster

Original Poster

    Systems Developer

  • Tech Issues Solved: 1
  • Joined: 15-July 08
  • Location: my room
  • OS: windows 7/8, Kali, ubuntu, OSx 10.9
  • Phone: Android

Posted 07 November 2012 - 21:33

mono


that one keeps messing with me -__- keeps giving me some kind of error and I dont have time to try and fix it (not my code)

#4 CentralDogma

CentralDogma

    Neowinian Senior

  • Joined: 29-February 08

Posted 07 November 2012 - 21:36

I think mono is your only option. What error are you getting?

#5 +Majesticmerc

Majesticmerc

    Resident Idealist

  • Tech Issues Solved: 8
  • Joined: 24-August 05
  • Location: United Kingdom
  • OS: Arch Linux / Win 7
  • Phone: HTC One X

Posted 07 November 2012 - 21:39

Another possible alternative is DotGNU, although as far as I'm aware, DotGNU is much less feature-complete than Mono.

If it doesn't work on Mono, you're probably out of luck. The program likely has dependencies on Windows-specific libraries :(

#6 XerXis

XerXis

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 13-February 06
  • Location: Belgium

Posted 07 November 2012 - 21:40

I agree with CentralDogma, I don't know any other realistic option besides mono. But it's not completely compatible with ms .NET it's always some features behind. Especially if you go outside the core language/framework features. Show the error, we might be able to help you

#7 firey

firey

    F͎̗͉͎͈͑͡ȉ͎̣̐́ṙ͖̺͕͙̓̌è̤̞͉̟̲͇̍̍̾̓ͥͅy͓̍̎̌̏̒

  • Tech Issues Solved: 6
  • Joined: 30-October 05
  • Location: Alberta, Canada
  • OS: Windows 7
  • Phone: Android (4.4.2)

Posted 08 November 2012 - 02:48

I've only ever used mono.. no problems thus far.

#8 OP Original Poster

Original Poster

    Systems Developer

  • Tech Issues Solved: 1
  • Joined: 15-July 08
  • Location: my room
  • OS: windows 7/8, Kali, ubuntu, OSx 10.9
  • Phone: Android

Posted 20 November 2012 - 23:31

I've only ever used mono.. no problems thus far.


im having problems with the windows forms :/

#9 firey

firey

    F͎̗͉͎͈͑͡ȉ͎̣̐́ṙ͖̺͕͙̓̌è̤̞͉̟̲͇̍̍̾̓ͥͅy͓̍̎̌̏̒

  • Tech Issues Solved: 6
  • Joined: 30-October 05
  • Location: Alberta, Canada
  • OS: Windows 7
  • Phone: Android (4.4.2)

Posted 20 November 2012 - 23:39

im having problems with the windows forms :/


Problems editing pre existing windows forms?

#10 Andre S.

Andre S.

    Asik

  • Tech Issues Solved: 12
  • Joined: 26-October 05

Posted 21 November 2012 - 01:51

im having problems with the windows forms :/

What problems? Btw even though there's an implementation of Windows Forms in Mono, it kinda sucks and it isn't what you should be using if you want a good-looking application on Linux. GTK# is a popular choice there.

#11 OP Original Poster

Original Poster

    Systems Developer

  • Tech Issues Solved: 1
  • Joined: 15-July 08
  • Location: my room
  • OS: windows 7/8, Kali, ubuntu, OSx 10.9
  • Phone: Android

Posted 21 November 2012 - 03:10

What problems? Btw even though there's an implementation of Windows Forms in Mono, it kinda sucks and it isn't what you should be using if you want a good-looking application on Linux. GTK# is a popular choice there.


oh this is just for uni work it can be as ugly as my hairy backside as long as it has the forms lol just its annoying i have to set up some sort of WINE thing apprently or what ever and my god i half got it to work tried to run a version and it cried

#12 firey

firey

    F͎̗͉͎͈͑͡ȉ͎̣̐́ṙ͖̺͕͙̓̌è̤̞͉̟̲͇̍̍̾̓ͥͅy͓̍̎̌̏̒

  • Tech Issues Solved: 6
  • Joined: 30-October 05
  • Location: Alberta, Canada
  • OS: Windows 7
  • Phone: Android (4.4.2)

Posted 21 November 2012 - 03:15

oh this is just for uni work it can be as ugly as my hairy backside as long as it has the forms lol just its annoying i have to set up some sort of WINE thing apprently or what ever and my god i half got it to work tried to run a version and it cried


Not sure what you are doing. I recompiled a bunch of my C# apps (written on windows with visual studio 2010) in linux under mono. There was a couple issues (more with dynamic forms), but for the most part it worked no problem.

Use the built in GTK style forms if you want to do something fresh. Otherwise just make the form look nice in Windows, copy the code over, recompile and it should be good. That's what I did, and it worked fine. Didn't have to do WINE anything. Just ran the app via cli as: mono <myfile>

I had to write a program in C# for personal use, so I decided to run it in mono on Arch (with 0 modifications) here's the result to show I am not talking out of my behind :

Posted Image

this is running on a dual monitor, so both are open at the same time. Yes theres a coupel visual differences, but yea.. 100% winforms no GTK.

#13 ffMathy

ffMathy

    C# .NET guru

  • Joined: 21-January 11
  • OS: Windows 8

Posted 26 November 2012 - 10:09

You could always use http://compilr.com. It's kind of cool.

#14 -Alex-

-Alex-

    Noob Hunter

  • Joined: 08-August 06
  • Location: Oslo, Norway

Posted 27 November 2012 - 03:57

<snip>


Naughty naughty, I know what amtlib.dll is for ;) ...I also know why you made that program, lots and lots of directories to copy it to.

#15 firey

firey

    F͎̗͉͎͈͑͡ȉ͎̣̐́ṙ͖̺͕͙̓̌è̤̞͉̟̲͇̍̍̾̓ͥͅy͓̍̎̌̏̒

  • Tech Issues Solved: 6
  • Joined: 30-October 05
  • Location: Alberta, Canada
  • OS: Windows 7
  • Phone: Android (4.4.2)

Posted 27 November 2012 - 13:14

Naughty naughty, I know what amtlib.dll is for ;) ...I also know why you made that program, lots and lots of directories to copy it to.


Gotta do whatcha gotta do :p