Tag Info

Hot answers tagged

17

If you're really QT gungho and just can't stand any gtk+ stuff on your desktop, you might be out of luck. If you are, on the other hand, not a library-nazi, may I suggest Monodevelop? Monodevelop is an IDE primarily designed for C# and other .NET languages. MonoDevelop enables developers to quickly write desktop and ASP.NET Web applications on Linux, ...


12

I posted some suggestions for books here: Recommended reading to better understand unix/linux internals As for developing on Linux with .NET, I strongly recommend that you install the MonoDevelop IDE.


10

Mono does not support AIX. If you want to try to port Mono to AIX, you would probably want to: Turn on the manual checking of dereferences in Mono, as AIX keeps the page at address zero mapped, preventing a whole class of errors from being caught. I forget the name of the define, but it was introduced some six months ago. You would have to make sure ...


8

Disclaimer: I offer this answer since I believe you should have control over what packages are on your system--not to flame the mono-hate flame war. Also this question is heavily edited since my first post. Removing Mono To remove mono completely all you have to do is remove the base mono libraries, and all files that depend on those libraries will also be ...


7

When testing Mono/Linux vs .NET/Windows workloads, you have to remember that there is more at play than just the runtime environment. There are areas in which Linux performs better than Windows (Most IO and network operations tend to be faster for comparable C programs). At the same time, .NET has a more advanced garbage collector and a more advanced JIT ...


7

This is kinda a non-answer. However there isn't a real answer here. Unfortunately this thing is highly application-dependent. Your app could hit on something that Mono happens to do really well or you might be heavily using something that is implemented poorly or has some bugs. It's not really a case of Mono being X times slower/faster than IIS. My ...


6

It is possible: Become root and turn on the binfmt module in your kernel with this command (you may want to add this command to your /etc/rc.local boot script, so that it will be executed on boot): modprobe binfmt Add the line below to your /etc/fstab file: binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc none Then, have your system run the following ...


5

There are a good number of programs that use mono in Ubuntu if you look at the whole repository. In the default install, I believe the following are the only mono apps: f-spot gbrainy tomboy There may be more, I just made this list from looking at which applications would be removed if I removed libmono*. However, even just having these means that a ...


5

There is no reason you can't use Monodevelop on KDE. All GTK+ apps should work, the only real downside is it might look a little bit alien and it's going to pull in a large set of libraries that you "don't need" unless you have other GTK+ apps installed. FWIW, I use emacs for most of my Mono development.


5

Mandatory The Art Of Unix Programming link here.


4

You have three options: 1) Emulation (Wine, Crossover Linux, Bordeaux) 2) Virtualization (VMware Player or VMware Workstation, Parallels Desktop, Oracle Virtualbox) 3) Dual Boot For C# development on Linux, Mono Project is the way to go. You can develop in MonoDevelop IDE and connect to SQL Server hosted in a virtual machine using SQL Client (for more ...


4

So you're looking for a package containing a file called System.Windows.Forms.dll. You can search: on your machine: apt-file search System.Windows.Forms.dll (the apt-file package must be installed) online: at packages.ubuntu.com. Both methods lead you to libmono-winforms1.0-cil and libmono-winforms2.0-cil (on maverick).


4

Its not fully functional/released yet but I am working on something that might interest you: http://github.com/jacksonh/mango/blob/master/docs/tutorial/page-1.md


4

There is a page on the Mono site dedicated to books. I hope you will find something useful there.


4

No, Paint.NET will not run on Mono. There was some (currently abandoned) effort to port it to non-Windows systems. Also, it has inspired Pinta, a project which is supposed to be drop-in replacement for Paint.NET on non-Windows systems.


4

Bash has no such feature. Zsh does, you can set up aliases based on extensions: alias -s exe=mono This would only work in an interactive shell, however, not when a program invokes another. Under Linux, you can set up execution of foreign binaries through the binfmt_misc mechanism; see Rolf Bjarne Kvinge. Good Linux distributions set this up automatically ...


4

Most of this comes from http://wiki.phonicuk.com/Installing-Mono-in-CentOS-5-x.ashx 1) Satisfy the dependencies before compiling mono wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6-8.noarch.rpm yum install bison gettext glib2 freetype fontconfig libpng libpng-devel \ libX11 libX11-devel ...


3

Using the Java example from http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting, you can try to add something like the following into your ~/.nanorc: syntax "C# source" "\.cs$" color green "\<(bool|byte|sbyte|char|decimal|double|float|int|uint|long|ulong|new|object|short|ushort|string|base|this|void)\>" color red ...


3

Have you checked out KDevelop 4 or Kate? Disclaimer: I don't develop mono and I haven't been able to get the vi bindings in kate to be good enough to replace vim yet.


3

Do you mean something like a servlet interface? You could also pretty easily emulate something like this using an ASPX HTTP Handler. You simply inherit from IHttpAsyncHandler and you'll get a BeginProcessRequest method and an EndProcessRequest method. In your BeginRequest handler you can do context.Response.Write ();


3

The important thing to note here is that MonoDevelop works fine in KDE. It does not require you to use GNOME. This is true of pretty much every GTK+ application.


3

The call in the script where you're having the problem isn't globbing the files, but the shell does. I'm not quite clear on how you're calling it, but you'll need to either find a way to glob or loop over the files.


3

It looks like monodevelop 2.95 is a development release, so won't find it in the repository. Monodevelop 3.0 has just been released (May 14, 2012). I think this is the version you need. You can download it from MonoDevelop web page. No prebuilt package is available for Ubuntu/Mint right now, so you best option is to build it from the source (using the ...


3

Compile your desired version of Mono from source instead of relying on a pre-built pacakge.


3

Linphone's mediastream require CTRL+C (SIGINT) to close properly and killall default signal is SIGTERM. So you can try SIGINT signal in killall command as follows: killall -SIGINT mediastream or killall -2 mediastream


3

{ my-mono-app 2>&1 >&3 3>&1 | awk ' {print} /ref unused/ {print "Exiting."; exit(1)}' >&2 } 3>&1 awk would exit as soon as it reads one of those messages, causing my-mono-app to be killed by a SIGPIPE the next time it tries to write something on stderr. Don't use mawk there which buffers stdin in a stupid way ...


3

It worked for me after I made a few changes to the stock install on CentOS 6.5 64-bit: I added /opt/mono/bin to the PATH, and restarted my shell. The mono-opt package should arguably do this, but it does not. In the freshly-created solution, right click the project (one step below the solution level) and select Options from the context menu. Go into Run > ...


2

Maybe it's a little bit too late to be usefull for you. Maybe it will be usefull to others. Anyway I developed a fastcgi protocol implementation for .NET/mono. You can find it on github here: https://github.com/gigi81/sharpfastcgi


2

Ubuntu has this by default, AFAIK. For an idea of how this might work, take a look at: binfmt_misc


2

Every piece of code is a potential patent trap, exactly in the same way as mono is, so your only solution to get rid of patent traps is: sudo rm -rf /



Only top voted, non community-wiki answers of a minimum length are eligible