我正在努力解决一个关于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和计算机,但似乎什么都不能工作。有谁有线索吗?提前谢谢你。
发布于 2012-02-23 17:42:51
我建议使用它提供的链接:http://go.microsoft.com/fwlink/?LinkId=179545
问题是dll被windows安全机制“锁定”,您需要先解锁它,然后才能引用它。指定的链接将告诉您如何操作。
https://stackoverflow.com/questions/9410167
复制相似问题