When using Mono Touch can I also package for a standard Window application?

☆樱花仙子☆ 提交于 2019-12-12 10:49:09

问题


I know that Mono Touch enables developing with nearly one source code and deploy to Android, iOs and Windows Mobile. There will of course be 3 projects and some platform related code but I will have important common code in C#.

But I also need my development to work on standard Windows 7 and 8 (non mobile). Can I do this with Mono Touch and I yes what is the development process ?


回答1:


I think you should check out my answer to this question: Consuming ViewModels in MonoDroid / MonoTouch

In general, you should create a shared class library that will be used on all platforms.

This class library would then be consumed by as many UIs as you need, such as MonoTouch, Mono for Android, WP7, Windows, Metro, etc.



来源:https://stackoverflow.com/questions/11753401/when-using-mono-touch-can-i-also-package-for-a-standard-window-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!