Bing Maps with .NET 6

RogerSchlueter-7899 1,346 Reputation points
2022-08-31T13:46:56.53+00:00

My application is desktop and wpf and uses Microsoft.Maps.MapControl.WPF. The application worked fine using .NET framework 4.8 but I have now upgraded it to .NET 6. Now adding children to a map layer now no longer actually draws the added child. Has something changed regarding Bing maps and .NET 6 that renders Bing map inoperable?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,817 questions
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
258 questions
0 comments No comments
{count} votes

Accepted answer
  1. Duncan Lawler - MSFT 571 Reputation points Microsoft Employee
    2022-08-31T23:42:02.613+00:00

    The Bing maps WPF control was written for .NET client profile 4.0 and doesn't work well with newer frameworks. It's recommended to use the UWP map control and XAML islands for newer applications.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.