Win8 remote debugging with Bing Maps SDK
-
09 Mart 2012 Cuma 22:24
I got the control up and running in my app pretty easily. Great stuff. I did this work on my development laptop. Now, I'm trying to test it out on my slate (the one from BUILD) so I did what I normally do: configure for remote debugging and hit F5. When the app runs on the slate, I get a XamlParseException saying "Cannot create instance of type 'Bing.Maps.Map'".
I'm sure the XAML is right because this code works fine on my dev box. The slate does not have the Bing Maps SDK installed on it but I do see that Visual Studio copied Bing.Maps.winmd to my output bin directory and presumably put in the package it deployed to the slate (not sure how to check that though). Both of these machines are x64 and that's what my project is set for.
Please advise on how to make this work
Robert Levy
- Taşıyan Richard_BrundrittMicrosoft Employee, Owner 16 Mart 2012 Cuma 18:56 (From:Bing Maps: Map Control and Web services Development)
Tüm Yanıtlar
-
10 Mart 2012 Cumartesi 13:41SahipYou will need to update your slate to the Windows 8 CTP. The previous version of Vindows 8 does not have all the required libraries to run the Bing Maps Windows 8 SDK.
http://rbrundritt.wordpress.com
- Yanıt Olarak İşaretleyen Richard_BrundrittMicrosoft Employee, Owner 10 Mart 2012 Cumartesi 13:41
- Yanıt İşaretini Geri Alan Robert_Levy 12 Mart 2012 Pazartesi 23:50
-
12 Mart 2012 Pazartesi 23:50No, that's not the problem. I updated all my machines to the Consumer Preview as soon as it came out. I have *not* installed Visual Studio or the Bing Maps SDK on my slate but I am assuming this is not necessary because people who get my app from the app store won't have these things installed either.
Robert Levy
-
13 Mart 2012 Salı 08:16ModeratörAnd what if you simply build and deploy the application to the slate as if for production (i.e. don't try to remotely debug it) - does that work?
twitter: @alastaira blog: http://alastaira.wordpress.com/
-
13 Mart 2012 Salı 17:38
If you're writing a managed app make sure you add a reference to the Visual C++ Runtime or you'll get a failure deploying to a machine without VS.- Yanıt Olarak İşaretleyen Richard_BrundrittMicrosoft Employee, Owner 17 Mart 2012 Cumartesi 14:38
- Yanıt İşaretini Geri Alan Richard_BrundrittMicrosoft Employee, Owner 07 Nisan 2012 Cumartesi 15:44
- Yanıt Olarak İşaretleyen Richard_BrundrittMicrosoft Employee, Owner 07 Nisan 2012 Cumartesi 15:44
-
07 Nisan 2012 Cumartesi 06:14Moderatör
I haven't got to the bottom of it but on my combination of win8 desktop / Samsung slate from //build I can only get remote debugging working when set to release mode.
Debugging works really well, but I get the classic XamlParseException when in debug mode.
I'm set to x64 in all modes, reference the c++ runtime.
Bing Maps MVP and director of www.soulsolutions.com.au