'Application with Gmap control doesn't start

I'm developing a Windows application in C# (Visual Studio Community 2022) I installed Gmap.NET.Windows Nuget packet v.2.0.3 I added the Map control and it works ok: when I run the application inside Visual Studio, the map is shown. After publishing, when I start the application manifest file, the app doesn't start, no warning windows. (same behaviour on two different computers). If I remove the Map control, the published app is ok. If I leave only the Map control without code (provider settings, properties, etc), the problem is still present. It seems a problem of the Map control or some property of it. I tried with framework 4.8 and 4.6.2...problem is still present. Can you help me?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source