Which programming language(s) does Windows Phone 7 (WP7) support?

血红的双手。 提交于 2019-12-18 05:39:26

问题


As I recall, WP7 supports C# but does not support any of the .Net dynamic languages (Ruby or Python). Are any other programming languages besides C# supported? Could an app be developed using Boo?


回答1:


Officially, only C# is supported so far. Unofficially, any language that can compile to a verifiable managed assembly (the verifiability requirement applies to all dependencies, too!) is good - so you should be able to use e.g. C++/CLI, F#, Delphi Prism...




回答2:


Currently, officially supported is C#. In the medium term (although no time frame officially announced) will be full support for VB.Net & F#. In the longer term will be official support for dynamic languages (IronRuby & IronPython) - although expect a restriction in what you can do with these languages due to marketplace restrictions.

Update:
The CTP of the Visual Basic tools are now available from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a808a69d-6119-47b7-b858-262be5c49915




回答3:


F# is supported on the phone. The templates are not baked into Visual Studio yet but are available from this blog entry by Don Syme

  • http://blogs.msdn.com/b/dsyme/archive/2010/08/20/f-windows-phone-7-silverlight-templates-now-on-visual-studio-gallery.aspx?wa=wsignin1.0



回答4:


If you can compile it down to a .NET CF assembly, you could probably hack it to work - there's nothing explicitly stopping other languages from being used.




回答5:


IronRuby http://msdn.microsoft.com/en-us/magazine/ff960707.aspx



来源:https://stackoverflow.com/questions/3655313/which-programming-languages-does-windows-phone-7-wp7-support

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