[Mono-dev] Crash course on bringing .NET open sourced code to Mono.

Miguel de Icaza miguel at xamarin.com
Sat Nov 15 03:06:35 UTC 2014


Hey guys,

Sami reached out to me, and was wondering how to get started in bringing
some code to Mono, in particular WCF to Mono.   So I wrote this small guide
for newcomers.

I would say it takes a couple of steps:

   - Build your own local version of Mono on Linux.
   - Make sure it works "mcs" should be able to run after installing it.
   - Run a trivial self-hosted WCF server/client
   - Make a trivial change to the WCF class library, and install this
   version to test you can make changes locally and have them run:
      - cd mono/mcs/class/System.ServiceModel
      - Make changes
      - make install
      - Run your test again in another window
      - Repeat
   - Make sure you can run the test suite:
      - cd mono/mcs/class/System.ServiceModel
      - make run-test-local

Once you are ready, you can start importing code.   Ideally, you want to go
for high-value targets: the most buggy parts of Mono's stack (you can check
bugzilla for reports on memory usage, bugs).   Or you can pick a missing
feature.

To import code, modify the relevant ".sources" file in the
System.ServiceModel directory (where you ran the test) and replace a local
file, with a reference to the "referencesource".

Chances are, you will need to make changes to the "referencesource" code,
since a lot of it is Windows specific.

Miguel


On Fri, Nov 14, 2014 at 5:25 PM, Sami Ben Grine <SBen-Grine at axarosenberg.com
> wrote:

>  Sweet – is there anything I can do to make progress?
>
>
>
> I am somewhat ignorant about Mono but I am pretty ok with .NET and Linux.
>
>
>
> thanks
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141114/28590c19/attachment.html>


More information about the Mono-devel-list mailing list