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’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...