Tuesday, November 24, 2009

Moq – Port to Silverlight 4

 

If you are in love with TDD you know Moq. It is one of the best Mocking frameworks out there… I’m working on SL4 and could not live without it! The problem is binaries for SL4 are not available yet.

To compile Moq on Silverlight 4 you just need the Castle dlls compiled for the runtime 4 and to recompile the source code. I ported the castle source code to Silverlight 4 and sent the patch to Castle project. Hope this will get on trunk soon. In the meantime you can download Moq and Castle compiled to SL4 here:

Castle.Core

Castle.DynamicProxy2

Moq Debug Compilation

Moq Release Compilation

Moq Source Code with updated projects

Have fun,

No comments: