mono

Using Mono on Windows

I know it sounds stupid but: I've found this application written on Mono and it is open source. While peeking at the source code I've found this two "using" directive that stoped me: using Gdk; using Mono.Unix; I guess they're Mono specific libraries. So, it is possible to run Mono under Windows? ( perhaps Visual Studio express e...

Invalid IL Code - F#

I am new to F#, and I am trying to write a function that calculates a powerset. I am getting an error from Mono (running this on a Mac) that is below. For example, I would pass calcPowerSet ([1;2;3], []) to start the function. Any ideas on how to solve the issue? System.InvalidProgramException: Invalid IL code in FSI_0010:calcPowerS...

Creating a new webproject with MonoDevelop 2.1 under Mac OS X => exception

I have a fresh install of MonoDevelop 2.1 and Mono-Framework 2.7. When I try to create a new project, the following exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Add-in 'MonoDevelop.AssemblyBrowser,2.1.0' could not be loaded....

What's the best programming IDE for C++ or Mono under Ubuntu?

Hello, as the title says: what's your IDE of choice to program C++ or Mono under Ubuntu? Is Eclipse a viable way? Is MonoDevelop mature enough? How about other IDEs? ...

Robust and friendly command line tools for .NET?

Forget fancy shmancy web stuff. I'm looking for a good .NET CLI argument processing utility, prefer open source code. This is for quick and dirty utilities that need robust and friendly command line argument handling. These are utilities with maybe a day of effort in them. Investing a few days writing good command line handling seems o...

C# mono p/invoke failure

Recently I tried to use p/invoke in mono (.NET for Linux platform) to write a simple OpenGL application to find out how it works on C# (I've already sucessfully done it on windows). I heard about the tao framework, but I don't want everything for a simple "hello world" like program. I just stucked at the start. I p/invoked some GL funct...

Where can I view Mono implementations of Math.* or Substring and the like

Question says it all. I tried browsing through the latest tag but could not find the implementations for said functions. ...

Debugging xsp on windows

Is it possible to debug a website running under xsp on windows? I would like to attach to the process from visual studio if that is possible. I modified my xsp2.bat file to enable debuging @"C:\PROGRA~1\Mono-2.4\bin\mono.exe" --debug=mdb-optimizations "C:\PROGRA~1\Mono-2.4\lib\mono\2.0\winhack\xsp2.exe" %* but it doesn't seem to help. ...

.NET CLR that does not require an operating system?

In the world of Java, BEA (now Oracle) has created LiquidVM which doesn't require an OS. Likewise, there are a variety of open source projects including SANOS, JNODE OS, Project Guest VM, JavaOS, etc. Is there an equivalent being created for .NET? ...

DotZlib - Inflate error handling code 1 Z_STREAM_END

Hi, I am using a slightly modified version of the DotZlib which is part of the contrib directory with the zlib source code to inflate a realtime data stream. Instead of the regular inflateInit I need to use InflateInit2 - but this the only difference to the provided library. Netherlesse after a couple of reads I receive error code 1 fr...

How do I use Linq in MonoDevelop 2.0 on OS X?

I installed MonoDevelop 2.0 on my Mac. I created a new Console Application. "Hello World" program runs fine. But I can't use Linq. "using System." doesn't show "Linq" option. What should I do? Thanks. ...

Is Mono for OS X any good for a professional .NET developer?

As a professional .net developer (at least this is how I earn my money) I wonder if Mono for the Mac is worth a closer look. I already tried Mono 3 years ago when I first got my iMac but the installation was impossible to master and after half a day I just gave up. I also got help from a Unix professional but we both were unable to get M...

Embedding Mono in Delphi Win32

Does anyone know the specifics of how to embed the Mono runtime in a Delphi Win32 application? The official documentations is not very helpful with regards to the Win32 environment (www.mono-project.com/Embedding_Mono). Upate: I am very familiar with the vagaries of static linking in Delphi and would be perfectly happy with a DLL. Mono...

running 2 websites with mono

I have 2 websites : myDomain1.com & myDomain2.com Both run on the same apache server with Mono. However my issue is that i cannot get them working at the same time. When i go to myDomain2.com it shows the aspx content of myDomain1.com. Occassiononly this is inversed. So that myDomain1.com shows the content for myDomain2.com. I think th...

What the best setup latest Mono + MonoDevelop on Ubuntu 9.04?

I start using Ubuntu 9.04 on my laptop. What I really want is to be able to write my C# projects on Ubuntu, including unit testing. Could anyone guide me how to setup it? ...

Mono Compatibility with Enterprise Library 4.1

Does anybody using latest enterprise library 4.1 in mono? I used mono migration analyzer to analyze my web application and realized all enterprise library dll is failed in mono. I need to know is that true that enterprise library 4.1 is not compatible in mono 2.4? ...

Performance of ASP.NET in Mono(Linux) vs IIS(Window)

Is there any performance different between hosting your asp.net in mono on linux and iis on window server? ...

Can .NET code compiled with the unsafe tag run in Mono?

I have some code that does Bitmap manipulation using the LockBits method and accessing the bitmap data directly using a pointer. This code has to be wrapped in an unsafe block, of course, and I was wondering if this means that the code would not work in Mono. I'm assuming the Bitmap class is available in Mono, but maybe that's another ...

Can JScript.NET be used to script a .NET application?

Since MS appears to have killed Managed JavaScript in the latest DLR for both server-side (ASP.NET Futures) and client-side (Silverlight), has anyone successfully used non-obsolete APIs to allow scripting of their application objects with JScript.NET and/or can explain how to do so? A Mono/JScript solution might also be acceptable, if i...

The application freezes when closing WebBrowser controls

I am new to WinForms and I'm trying to use the WebBrowser control on GNU/Linux with Mono. It runs fine, but when I close the form I get strange warnings, and the application freezes when I try to create another form containing a WebBrowser. In fact I can launch as many browsers as I wish, until I close one. Then if I create a new one th...