Rebasing System.Reactive to the .net CLR 4
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
-
Interesting Finds: July 31, 2009

... and with Reflexil …
Looks definitely easier. That’s one fantastic tool that you built.
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
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.