WP7和.NET主机中的共享程序集 [英] Shared assembly in WP7 and .NET host
本文介绍了WP7和.NET主机中的共享程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想在我的WP7项目和.NET项目(在您的PC上运行的主机程序)之间共享一个程序集.我设法做到了,但是在我的共享程序集中,我的对象有一个Parse()和ToXml()函数.在WP7项目上,此程序运行良好,但是,在PC上,此代码不想运行...有任何建议吗?我不想两次实现我的功能,那样既浪费时间又需要麻烦.
谢谢,
MadMatt
Hey all,
I want to share an assembly between my WP7 project and my .NET project (a host program that runs on you PC). I managed to do that, but in my shared assembly I have a Parse() and a ToXml() function for my objects. On the WP7 project this runs fine, but however, on the PC this code doesn''t want to run... Any suggestions? I don''t want to implement my functions twice, that would be a waste of time and a demand for trouble.
Thanks,
MadMatt
推荐答案
我建议在PC上的调试器下运行它.告诉我们它不会运行"不会告诉我们蹲下.
编辑(注释后)================
您要为每个平台重新编译DLL吗?
I suggest running it under the debugger on the PC... Telling us that "it won''t run" doesn''t tell us squat.
EDIT (after comment) ================
Are you recompiling the DLL for each platform?
这篇关于WP7和.NET主机中的共享程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文