Gmap.net Error in WPF

白昼怎懂夜的黑 提交于 2019-12-25 16:53:31

问题


After adding the reference component in the Toolbox, the following error occurs when trying to use the component:

"A reference to "GMap.Net.WindowsPresentation,Version=1.6.0.0, Culture=neutral, PublicKeyToken=b8b9027b614afef" has been added to the project. In rder to use types from the new reference,press OK to restart the XAML designer. After the XAML Designer restarts, re-create the control on the artboard."

Already restarted Visual Studio, but not resolved.


回答1:


This worked for me.

  1. Use Windows Explorer to find GMap.NET.Core.dll and GMap.NET.WindowsPresentation.dll
  2. Right click
  3. Select Properties
  4. Click the Unblock button


来源:https://stackoverflow.com/questions/25916092/gmap-net-error-in-wpf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!