Today is a great release day. We’ve launched everything you need to write Windows Phone 7 applications. Not only that, but we’ve also released XNA 4.0 not only for phone, but for all supported XNA platforms.
Visual Studio Tools for Windows Phone 7
Today, we released the production version of the Visual Studio Tools for Windows Phone 7. These are the only tools you’ll need for building Windows Phone 7 Applications with Visual Studio 2010 and Expression Blend 4.
If you were working with the Beta, the very good news is that there are not many breaking changes (see the table below) and so upgrading should be very quick.
Please note that all of the Windows Phone for Silverlight Developers and iPhone To Windows Phone 7 Tutorials and Videos will be upgraded to this release within the next few days. If you run into issues, please feel free to contact [email protected]
From the release notes, here are the breaking changes from the beta.
Item | Description |
Updating applications created with earlier versions of Windows Phone Developer Tools | Changes have been made to the WMAppManifest.xml and template files. Now that manifest validation has been turned on, you may need to update these files in your older projects. A number of the changes are listed here. However, you can also compare the WmAppManifest.xml, app.xaml and app.xaml.cs files in a new project to the same files in your old projects to determine what has changed and then update your old files accordingly.
The following list shows changes you must make to the WmAppManifest.xml file:
The following list shows changes you must make to the App.xaml file: Note: The recommended option for updating this file is to obtain a copy of the most recent version. Using your old file, copy the information specific to your application (such as, resources) to the new file.
The following list shows changes you must make to the app.xaml.cs file:
|
Limit to the number side loading of applications on the phone | Developer phone registration is the process through which a registered Windows Phone® developer may unlock a retail Windows Phone to side load applications for development and testing. A limit on the number of side loaded applications that may concurrently be installed on the phone will be enforced. The default limit will be 10 applications. Attempts to side load more than 10 applications will result in an error. This limit does not affect applications installed via Windows Phone® Marketplace.
|
XNA Framework assembly references | The public key token for XNA Framework assemblies has changed. Assembly references in content projects and game projects created using previous releases of Windows Phone Developer Tools must be updated to work correctly. You can do this by removing and re-adding references that do not resolve correctly using the References node in the Visual Studio Solution Explorer.
|
Character encoding. | Support for all character encodings will be removed, except for those in the following list.
Use of an unsupported encoding value in an application will result in an ArgumentException exception. You must modify existing applications to remove references to unsupported encoding values. XML data should specify only supported encodings. For example:
|
A GamerPrivilegeException is returned if the user does not have content privileges. | If AllowProfileViewing and AllowUserCreatedContent flags are not set in a gamer profile, then the user cannot view profiles or display the gamer card of another user. The following methods now check for these privileges and will return GamerPrivilegeException if the user does not have these privileges:
|
The picture sharing mechanism has changed. | Previously, Windows Phone® 7 would place the picture into the Isolated Storage of the application. The picture would then be loaded when the application was launched. Now, when the application is launched, it is passed a string token. To retrieve the picture, the application calls the GetPictureFromToken() method, public static Picture GetPictureFromToken(string token), which takes the token as a parameter and returns a Picture object. You will need to update existing applications.
The following code example illustrates how to use the GetPictureFromToken method to retrieve a photo. For more information see, How to: Create a Photo Extras Application for Windows Phone:
|
Deployment and debugging. | While deploying or debugging, if you get the following error: “Application could not be launched for debugging”. First, verify that the application is installed on the target device and that there is no splash screen in the project. Then, uninstall the application and in Visual Studio perform the following steps:
|
Installation on Windows Vista. | Windows Phone Developer Tools setup blocks installation on Windows Vista and forces the user to install Windows Vista SP2. |
You can read more about the release on the Windows Phone Developer Blog.
Toolkit
Today we also released the Silverlight Toolkit for Windows Phone 7. Like the desktop toolkit, this is a way to ship out-of-band controls and other goodies. Also like the desktop toolkit, you’ll find it at silverlight.codeplex.com
The toolkit includes a number of controls that the community has requested:
- GestureService and GestureListener
- ContextMenu
- WrapPanel
- DatePicker
- TimePicker
- ToggleSwitch
David Anson has put together a great blog post on the individual bits, as have John Papa and Tim Heuer. Jesse Liberty has been creating some great tutorials on his site as well as on silverlight.net
Want to get started with Windows Phone 7 Development yourself? Check out the get started page on Silverlight.net
XNA 4.0
The big news on the XNA side is phone support, of course. However, it’s the full release for Windows, Xbox 360 and phone. XNA Game Studio 4.0 is included with the Windows Phone developer tools.
Quick Links
- Silverlight.net WP7 Get Started Page
- Direct link to WP7 Tools installer (landing page is here if you don’t want the direct download link)
- Toolkit on CodePlex
- Release Notes
- XNA Creator’s Club Online
I have read several excellent stuff here. Certainly worth bookmarking for revisiting. I surprise how much effort you set to make such a magnificent informative web site.
Title is unintentionally misleading. “Announcing the Windows Phone 7 Release.” By that I would understand an announcement regarding the day when the OS and devices that run it finally hit the market.
@Alex Same problem here 🙂 And what more, I don’t get it why should I install VS 2010 Express when I already have VS 2010 Pro installed.
Is there a way to install it on Windows 2008 ?