c# - how to use Bingmaps in windowsphone7 with visual studio 2012 -


i'm trying use bing maps control on windows phone 7 silverlight application , i've tried follow sites: http://www.jeffblankenburg.com/2009/12/30/day-30-bing-maps-in-silverlight/ shows error:

the tag 'map' not exist in xml namespace 'clr-namespace:microsoft.maps.mapcontrol;assembly=microsoft.maps.mapcontrol'.

am doing wrong?

make sure have added microsoft.phone.controls.maps assembly project references.

in phoneapplicationpage add following attribute:

xmlns:maps="clr-namespace:microsoft.phone.controls.maps;assembly=microsoft.phone.controls.maps" 

and use map control in page following:

<maps:map /> 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -