WPF中的Gmap.net错误 [英] Gmap.net Error in WPF
本文介绍了WPF中的Gmap.net错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在工具箱中添加参考组件后,尝试使用该组件时会发生以下错误:
After adding the reference component in the Toolbox, the following error occurs when trying to use the component:
" 对"GMap.Net.WindowsPresentation,版本= 1.6.0.0,文化=中性, "PublicKeyToken = b8b9027b614afef"已添加到项目中. 键入新引用中的类型,请按OK重新启动XAML设计器. XAML设计器重新启动后,在画板上重新创建控件."
"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."
已重新启动Visual Studio,但未解决.
Already restarted Visual Studio, but not resolved.
推荐答案
这对我有用.
- 使用Windows资源管理器查找GMap.NET.Core.dll和GMap.NET.WindowsPresentation.dll
- 右键单击
- 选择属性
- 点击取消阻止按钮
这篇关于WPF中的Gmap.net错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文