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’re pleased to report that the ability to Reflection.Emit was released as part of Windows Phone 8.1.
For more information on using the System.Reflection namespace for Store apps, see the MSDN docs at: http://msdn.microsoft.com/en-us/library/windows/apps/hh441595.aspx
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