Visiblox无效的程序集引用

本文关键字:引用 程序集 无效 Visiblox | 更新日期: 2023-09-27 18:25:28

我遇到了一个关于visiblox的问题。我对WPF的概念很陌生,但我已经掌握了它的窍门。我对经典形式有一些经验。

我的问题是设计器一直告诉我XAML包含错误。我在错误列表中得到了一个愚蠢的错误:

Unable to load the metadata for assembly 'Visiblox.Charts'. 
This assembly may have been downloaded from the web.
See http://go.microsoft.com/fwlink/?LinkId=179545.
The following error was encountered during load: Could not load file or assembly     
'Visiblox.Charts, Version=2.1.4.31043, Culture=neutral, publicKeyToken=1543c03f04c4461b' or one of its dependencies.

我添加了对该项目的引用,并添加了行:

xmlns:charts="clr-namespace:Visiblox.Charts;assembly=Visiblox.Charts"

我可以构建和运行该项目,但设计者一直告诉我我的程序集不正确。我试着清理并重建了这个项目。已重新启动Visual Studio和计算机,但似乎什么都不起作用。有人知道吗?提前谢谢。

Visiblox无效的程序集引用

我建议使用它提供的链接:http://go.microsoft.com/fwlink/?LinkId=179545

问题是dll被windows安全性"锁定",您需要先解锁它,然后才能引用它。指定的链接告诉您如何操作。