Bing地图运行时错误的Windows 8.1 [英] Bing Maps Runtime Error Windows 8.1
问题描述
当我运行Windows 8.1中使用Bing地图的集成应用程序,我得到下面的错误。
类型的Windows的异常。 UI.Xaml.Markup.XamlParseException'
发生在DistanceApp.exe但在用户代码中没有处理
WinRT的信息:无法反序列化XBF元数据类型列表作为地图'
未在命名空间中找到Bing.Maps。 [行:0位置:0]
更多信息:此错误代码可以
没有找到相关的文字
无法反序列化XBF元数据类型列表,地图在
命名空间Bing.Maps没有被发现。 [行:0位置:0]
如果有这种异常的处理程序,该程序可以安全
继续
块引用>
<电网Grid.Column =1保证金=20,10>
<地图:地图名称=bingMapHomeRegion =US证书={兵重点}/>
< /网格和GT;
我可以看到地图的设计时间,它成功生成。但是,当我运行这个错误涉及到InitializeComponent()方法。
我使用VS 2013 RTM和Windows 8.1。
我搜索了很多,但我没有得到任何东西。
请帮我
解决方案它的解决。我改变了项目的平台目标从86到64和它的解决。
感谢
When I run the app of Windows 8.1 with Bing Map integration, I get following error.
An exception of type 'Windows.UI.Xaml.Markup.XamlParseException' occurred in DistanceApp.exe but was not handled in user code
WinRT information: Cannot deserialize XBF metadata type list as 'Map' was not found in namespace 'Bing.Maps'. [Line: 0 Position: 0]
Additional information: The text associated with this error code could not be found.
Cannot deserialize XBF metadata type list as 'Map' was not found in namespace 'Bing.Maps'. [Line: 0 Position: 0]
If there is a handler for this exception, the program may be safely continued.
<Grid Grid.Column="1" Margin="20,10" > <Maps:Map Name="bingMap" HomeRegion="US" Credentials="{Bing Key}" /> </Grid>
I can see map design time and it builds successfully. But when I run this error comes to InitializeComponent() method.
I'm using VS 2013 RTM and Windows 8.1.
I searched a lot but I didn't get anything.
Please help me
解决方案It's solved. I changed the project platform target from x86 to x64 and its solved.
Thanks
这篇关于Bing地图运行时错误的Windows 8.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!