Rebasing System.Reactive to the .net CLR 4

Posted by Jb Evain Thu, 30 Jul 2009 10:24:00 GMT

Purple rain

There has been a lot of interest towards the Rx framework lately. It’s definitely an interesting piece of software, and the video linked on channel 9 is quite fascinating. The only issue is that the only assembly you can get right now is compiled against Silverlight, making it impossible to use on the traditional .net framework. Impossible, really?

Well, I for one would not recommend it, but if you really can’t wait to try it, you could use this little piece of code which uses Cecil to turn the assembly compiled against Silverlight into an assembly that will work on the .net framework. Of course the assembly will lose its strong name in the process. But at least, it will be usable.

For instance, here’s the sample that Jafar is showing on his blog, running on Mono:

Update: don’t miss the comment Sébastien posted, and how he would do it with Reflexil.

Trackbacks

Use the following link to trackback from your own site:
http://evain.net/blog/articles/trackback/582

  1. Interesting Finds: July 31, 2009
Comments

Leave a response

  1. Avatar
    Sébastien LEBRETON Thu, 30 Jul 2009 12:30:46 GMT

    ... and with Reflexil …

  2. Avatar
    Jb Evain Thu, 30 Jul 2009 12:48:02 GMT

    Looks definitely easier. That’s one fantastic tool that you built.

  3. Avatar
    nost excellent Fri, 31 Jul 2009 07:35:02 GMT

    This is all most excellent. It would be welcome, though, for those hurdles to be removed by MSFT, as there are enough real problems to deal with in the first place.

    Nicolas

  4. Avatar
    Jb Evain Fri, 31 Jul 2009 07:56:35 GMT

    Well, they’ll probably release it soon enough, either as a part of the beta 2 of .net 4.0, or as a standalone assembly. This is just a temporary hack for those of us who just can’t wait.

Comments