首页
社区
课程
招聘
[下载][推荐]Fixed Mono.Cecil for Windows Phone 7 incl. Source
发表于: 2011-2-8 01:56 2704

[下载][推荐]Fixed Mono.Cecil for Windows Phone 7 incl. Source

2011-2-8 01:56
2704
Try Mono.Cecil if you need System.Reflection.Emit in
Windows Phone 7


As .NET compact framework never support System.Reflection.Emit,
we can’t use Reflection.Emit in Windows Phone 7 development. So, it
prevents us from porting the existing frameworks like Unity, Castle Dynamic Proxy,
Moq and etc to Windows Phone 7 development platform. I was looking all options
that helps us to use Reflection.Emit in Phone 7. The first option that I check is to
port Mono code to Silverlight for Phone 7 version. The second option is to use Mono Cecil
that is using in Mono Core. And the third option is to use EmitCF but I don’t see any
update after beta release so I guess this project is dead already. So, I decided to give
a try on Mono Cecil.

Mono Cecil supports Silverlight, Compact Framework and .NET desktop version. So, it’s
very easy to make Cecil work on Phone 7. All I have to do is to create a conditional called
CF in csproj file and then it will work like a charm. I submitted a patch to Mono Cecil but
Jb Evain said that he doesn’t want to provide csproj officially so I will make the files
downloadable here.

http://michaelsync.net/2010/04/20/try-mono-cecil-if-you-need-system-reflection-emit-in-windows-phone-7

[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!

上传的附件:
收藏
免费 0
支持
分享
最新回复 (2)
雪    币: 233
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
收下,谢谢,好东西
2011-4-2 12:56
0
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
谢谢,手下了。
2011-9-6 09:47
0
游客
登录 | 注册 方可回帖
返回
//