Microsoft.Phone.Maps.Toolkit that could not be found

1.1k views Asked by At

I'm developing the windows phone 8 map application, and to extend its functionality have installed the Windows Phone Toolkit with NuGet pakage installer. After installing Microsoft.Phones.Toolkit is added into the References and also a folder is created as Toolkit.Content.

While following this tutorial http://mobile.dzone.com/articles/maps-windows-phone-8-and-phone while adding the namespace xmlns:toolkit="clr-namespace:Microsoft.Phone.Maps.Toolkit;assembly=Microsoft.Phone.Controls.Toolkit" I get an error as URI Reference to a namespace Microsoft.Phone.Maps.Toolkit that could not be found

This results that i can't add any toolkit:MapExtensions on map.

If anybody have solution on this please let me know that will be much appriciated.

Thanks In advance, Suraj.

2

There are 2 answers

1
kdh On

Pasted from the article you linked:

xmlns:maps=”clr-namespace:Microsoft.Phone.Maps.Controls;assembly=Microsoft.Phone.Maps”

It looks like you switched some namespaces around. Try copying and pasting that to see if that fixes it.

0
monik On

I've had the same problem.

Here's what I did:

1) Uninstall WPtoolkit from package manager console using following command: Uninstall-Package WPtoolkit

2) Make sure you have Nuget version >= 2.1 installed. (You can check it by going to tools->Extensions and Updates->Installed)

3) Reinstall WPtoolkit

Hope it works. Regards.