Bing Maps with .NET 6

Roger Schlueter 996 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 Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
492 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,281 questions
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
193 questions
No comments
{count} votes

Accepted answer
  1. Duncan Lawler - MSFT 386 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.


0 additional answers

Sort by: Most helpful