Windows Phone
开发工具在MIX 2010上火热登场了。Windows Mobile开发者们压抑许久的热情终于爆发出来,对于Windows Phone的华丽转身,开发者们褒贬不一,有人对Silverlight、 XNA等新技术充满期待,有人对放弃以前版本兼容性、不支持C++开发满腹怨言。但是
Windows Phone开发还要继续。
在开始开发第一个
WindowsPhone程序之前,需要下载合适的开发工具。微软提供了免费的开发工具,可以通过网址下载到在线安装包vm_web.exe,因为是在线安装,所以安装过程需要一直联网。
通过该安装包可以安装以下组件:
Windows Phone Emulator
Visual Studio 2010 Express for Windows Phone
Microsoft Expression Blend for Windows Phone
Silverlight for Windows Phone
XNA4.0 Game Studio
WindowsPhone安装包组件简单介绍:
1、Windows Phone Emulator WindowsPhone Emulator是Windows Phone的模拟器,开发者可以在没有真实设备的情况下学习
Windows Phone软件的开发。但是Windows Phone Emulator也不是任何的情况都可以模拟,暂时具有一定的限制性。比如,不能打出和接受电话,也不能发送和接受短信,不能模拟内置摄像头之类。
2、Visual Studio 2010 Express for Windows Phone VisualStudio 2010 Express for Windows Phone 是微软提供的免费的WindowsPhone 应用程序的集成开发环境(IDE)。其中提供了C#和XAML的编辑功能,简单的界面的布局
设计功能,编译程序,连接Windows Phone模拟器(Windows Phone Emulator),部署程序以及调试程序的功能。
3、Microsoft Expression Blend for Windows Phone MicrosoftExpression Blend for Windows Phone是十分强大的XAML UI设计工具,使用它可以弥补VisualStudio 2010 Express所缺乏的UI设计能力,例如Animation,Behavior等等。当开发Silverlight程序时,使用Visual Studio 2010 Express与Expression Blend相互之间可以无缝结合。
4、Silverlight for Windows Phone和XNA 4.0 Game Studio WindowsPhone 7支持Silverlight和XNA的开发,开发人员可以在选择项目模板时自由的选择Silverlight或者XNA来开发。一般情况下,使用Silverlight来开发应用程序,使用XNA来开发游戏,但是没有严格限制,甚至可以同时使用两种技术来协同开发。
安装完成后,就可以通过VisualStudio 2010 Express for Windows Phone开发Windows Phone应用程序了。当然如果系统本身已经安装了Visual Studio 2010的专业版或者是旗舰版,可能导致Visual Studio 2010 Express for Windows Phone不能正常打开,将VisualStudio 2010升级到SP1之后,这个问题就能得到解决,并且还可以通过Visual Studio 2010中的Windows Phone项目模板进行
Windows Phone开发应用。而且在Visual Studio 2010中操作上能有更完备的体验。