WP7 should support Reflection.Emit for Mocking frameworks & Linq
The lack of Reflection.Emit in WP7 stops developers from being able to properly test their frameworks. With no Reflection.Emit it is impossible to build a Mocking framework and actually test WP7.
The lack of Reflection.Emit is also blocking the OData Client Library for WP7.
Thank you for the suggestion and commentary. We are not adding this capability in the 8.0 release, but know that it is high on the consideration list for future Windows Phone releases.
Keep those suggestions and votes coming!
Jason Roberts commented
I've just release an early version of a mocking framework for Windows Phone 7: http://moqalate.codeplex.com/ http://www.dontcodetired.com/blog/post/Introducing-%28probably%29-The-Worlds-Only-Mocking-Framework-for-Windows-Phone-7-%28WP7%29.aspx
Please, please, please, please - we need mocking support. WP7 platform is such a great one to develop for except for this, especially for us long-term TDD'ers. It's such a horrible feeling (and waste of time) to have to hand-write mocks :(
Jake Ginnivan commented
Bringing the types Brendan has asked for will allow mocking frameworks to be ported to WP7 which will make the testing story MUCH nicer.
Brendan Forster commented
7.1 added some of the System.Reflection.Emit namespace from SL4, but this is not satisfactory to support libraries such as Castle DynamicProxy.
These types are necessary:
Steve Williams commented
Reflection.Emit is listed as one of the new APIs in 7.1.
OData must not be the actual requiest, since OData has been there since launch. Can you describe the problem more completely?
FYI: According to Mix11 OData support is comming with 7.5