在类库中填充组合框
我有一个带有控件的WPF项目,
我想访问我的类库中的WPF控件,而im得到了这个错误。
The type or namespace name 'Controls' does not exist in the namespace
'System.Windows'
(are you missing an assembly reference?)从WPF项目访问函数时不会出现问题,只有当我尝试使用类库中的函数时才会出现问题
发布于 2011-06-21 18:44:26
正如消息所暗示的那样,您可能缺少程序集引用。确保您的类库包含对.NET PresentationFramework程序集的引用,这样就没有问题了。
https://stackoverflow.com/questions/6423964
复制相似问题