简体   繁体   中英

Gmap.net Error in WPF

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.

在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM