Visual Studio 2015 – The name "MapControl" does not exist in the namespace "using:Windows.UI.Xaml.Controls.Maps"

There are times when you get the below warning message in the Visual Studio Xaml Designer when using the MapsControl .

The name “MapControl” does not exist in the namespace “using:Windows.UI.Xaml.Controls.Maps”

I got this error when trying to open the Universal Windows Apps MapsControl sample project in Visual Studio 2015 . When I build the project and run it on Windows Mobile 10 emulator , it would work fine . But the designer the the error “Invalid Markup”.

image

The fix to the problem was pretty simple. Just try to change the build configuration from x64 to x86 and it fixed the issue on the designer .

image

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you will learn about sync provider notifications in Windows 11 and how to disable or enable it...
In this tutorial, let’s learn how to enable or disable the startup sound in Windows 11. By default, when Windows...
The CameraCaptureTask allows the Windows Phone 7 App to launch the Camera Application . This will be useful when the...