gmcs

Mono .EXE assembly set explorer icon

When compiling with gmcs on Linux, how can I set the explorer icon the final EXE will use? I have a .ico file to attach to the output exe. The answer must be build-automatable and execute on Linux (w/o wine -- build machine architecture is not x86). GCC and binutils targeting Windows x86 are available. If you give the answer referring...

compile cs files with mono?

I am trying to compile my project with mono on linux. My cmd looks something like... gmcs Pages/UserProfile.cs Properties/AssemblyInfo.cs queues.cs watch_editor.cs Class1.cs -define:USE_SQLITE -r:System -r:System.Collections -r:System.Collections.Generic -r:System.Collections.ObjectModel -r:System.Collections.Specialized -r:Syste...

webkit-sharp for windows package

I wanted to try WebKit by following this tutorial, but gmcs compiler was't able to find "webkit-sharp-1.0" package. Where can i get it and how to install it? ...

Why can't I pass just the name of a method where a similarly typed Func is expected?

Why doesn't this C# typecheck? In this example, I am trying to pass a method of type string -> string as a Func<string, string>. It would be seem perfectly reasonable to be able to omit lambda syntax when passing just the name of an appropriately typed function. using System; using System.Linq; class WeakInference { public static voi...

Mono Compiler as a Service (MCS)

I'd like to consume Mono's compiler as a service from my regular .NET 3.5 application. I've downloaded the latest bits (2.6.7), created a simple console application in Visual Studio and referenced the Mono.CSharp dll. Then, in my console app (straight out of a sample online): Evaluator.Run("using System; using System.Linq;"); ...

Random errors compiling with Mono gmcs on Snow Leopard

Hi everyone, I'm running OS 10.6.4, and recently tried installing Mono. Something seems to have gone awry though, I can't even compile basic code. The following: using System; public class HelloWorld { public static void Main() { Console.WriteLine("Hello Mono World!") } } Gives me this result: user$ gmcs...

Extending the Mono C# compiler: is there any documentation or precedent?

I am currently involved in some interesting programming language research which has, up until now, centred around extending the upcoming Java 7.0 compiler with some very powerful programmer-productivity-based features. The work should be equally applicable to related programming languages such as C#. I'm currently scoping out the option...