With the release of the Windows 8 Consumer Preview, it was only a matter of time that Microsoft releases some new SDKs to us developers. We are starting with the Bing Maps SDK.
Bing Maps SDK for Windows 8 Metro style apps
Microsoft´s Bing Maps team released a new SDK for Windows 8. You can use the SDK free and unlimited during the preview period.
The new SDK supports Java by using the AJAX v7 controls, and provides all standard items like map types, pushpins, infoboxes and tile layers. Additionally there is now a venue Maps module. At the moment there are still some missing bits like directions, traffic and overlays. Your maybe previous used REST APIs will still work and help you to use more features. If you want to learn on an example, you can watch this site.
Of course you can also use C#, C++ or Visual Basic to create apps that are using the SDK. The SDK now supports client vendor rendering as well as full hardware acceleration.You can also use Aerial and Bird´s eye view and traffic overlays within you app. Some features are in this early stage US only. You can learn on an example on this MSDN page.
Yesterday I was all day playing around with the Windows 8 Consumer Preview (W8CP) as many of us.
Today I wanted to get a bit more serious and tried to install the Windows Phone SDK.
Once downloaded from App Hub, I clicked “Install”, and waited for the SDK to complete . Install went trough, and I was waiting for opening my current project.
But then I was shocked by numerous error messages, all of the regarding XNA plugins and updates. So the dream was over. The SDK does not support W8CP.
I am a very Metro-addicted man, so I was searching for a solution. On Twitter I was tipped by @nikovrdoljak to one part of the solution.
The errors are caused by Games for Windows – LIVE Redistributable
XNA Game Studio installs a version of the Games for Windows – LIVE Redistributable behind the scenes. Some older versions of the Games for Windows – LIVE Redistributable attempt to install and use a file that is being installed by Windows 8, and the older versions of the redistributable are not compatible with the newer version of the file that is installed by Windows 8. Newer versions of the Games for Windows – LIVE Redistributable are compatible with Windows 8, and if you pre-install the new redistributable before installing XNA Game Studio, setup will recognize that it is already there and use the new version instead of trying to install the old version.
The reason this issue also impacts the Windows Phone SDK 7.1 is that this SDK installs XNA Game Studio behind the scenes, which in turn installs the Games for Windows – LIVE Redistributable behind the scenes.
So where to download the actual version? Let´s check this later. I followed the steps shown on Aaron Stebner’s WebLog. But that was not all.
I think more WPDev are willing to try, so here is a checklist:
uninstall all parts of the Windows Phone SDK – Note: there are some bits left after you use the automatic install, so you have to uninstall remaining parts of the SDK manually
do a reboot (that thing you do not want to do once you started playing around with W8CP). Don´t worry, it is faster as on Windows 7 (on my 2 year old ASUS under one minute).
go to the Games for Windows download page, which you can find on this page: http://www.xbox.com/de-DE/LIVE/PC/DownloadClient. Replace the “de-DE”-part with your regional language code, for the US p. e. “en-US” to download the correct version of the redistributable.
in the middle of the installation, the UAC asks you to allow the installation. Now click on “change, when this message appears” (the original wording might be slightly different, I translated it from German).
pull down the switch to set Windows to not ask you anymore (yes, even if this is not recommended)
now let the installation of Games for Windows –LIVE Redistributable finish.
finally, start installation of the Windows Phone SDK. This time, it takes a little longer than before (probably due to the now working install parts)
if you want to, turn the UAC on again (control panel/more settings/users/settings for user access control)
Congrats, you installed the Windows Phone SDK, but…
you still have to deal with some points:
the SDK currently works only with Visual Studio 2010
the emulator does not work, so you have to debug on device
the updated Windows Phone SDK 7.1.1 (which is only to have a look, not the final version), might afford additional steps
For me it only worked with above mentioned steps. If you had another steps to do or additional information, leave a comment to discuss.