My Experiences in Windows Phone 7 Development :Part 2
In Recently concluded Community tech days in pune, we had a sizable audience for Windows Phone 7 development session by Mayur Tendulkar. I was there in the crowd and must say, It was a good session on WP7 🙂
While the in the crowd I did realize that Not many have started WP7 development, But still, If you have done some development using April CTP and are probably itching to download the July Beta of the tool, Behold There are some breaking changes.
Changes in the July Beta :
1. You Cannot now use the Bing maps control for silverlight in WP7 projects :
This my friends was very misleading in the April CTP, You must have noticed that using the Bing Maps for SL , you could actually create apps on the phone that utilize, however the performance would have been really bad, even on the emulator (it used to take around 4-6 min to load the map ).
The SL controls used to work on the April CTP due to a glitch in the, then released SDK.
2. The issue of needing to use unsigned versions of the dll that were signed using third party certificates has now been resolved
In the April CTP, you could not use a signed DLL from a third party , as the emulator would not allow you to use these DLLs, You would have needed to unsign these DLLs to use ‘em in your WP7 project. the Good news is that this has now been fixed in the July Beta. Now You can use the singed DLLs that you always wanted to use
3. Some of the assemblies have been merged into a single assembly:
One thing that you will probably notice is that once you open your April CTP project after you install the beta tools, the project compilation will result into a lot of errors. Most of these have got to do with the assembly mergers and deprecation of certain controls. A more detailed blog has been written by Jamie Rodriguez from Microsoft , where this is explained in much more detail (Link to Jamie’s Blog)
Upgrading to the July Beta:
I have heard a lot of complaining about the setup experience on upgrading from April CTP to july Beta. What I’d Suggest ( the way which worked smoothly for around 5-6 PCs in my office) is to uninstall the CTP by hitting the uninstall option for Windows Phone Developer tools CTP in the add/remove programs. This will uninstalll all the components and ask for a reboot. After the reboot is done, we can now start the installation of the July beta SDK and tools.
Issue that I have observed :
One thing, you might notice is that whenever you do a DateTime.Now in your code and you are running this code in the emulator, the emulator will always return the install date and not the system date. If this is an issue that you are facing there is a workaround for this. Go to %ProgramData%\Microsoft\XDE and delete all files with .dess extension there (These are the state files, once these are deleted you will see the current date on the emulator, However time zone is set to Alaska GMT -9). So Once you start noticing the offset, delete the .dess file and you are back on time 🙂
Much more to come in the following blog posts… Keep reading and thanks for your support