【发布时间】:2014-03-30 19:24:19
【问题描述】:
我正在构建一个 WAF 项目。当我调试我的项目时。我遇到了这个问题
"The composition produced a single composition error. The root cause is provided below.
Review the CompositionException.Errors property for more detailed information.\r\n\r\n1)
No exports were found that match the constraint: \n\tContractName\tWaf.InformationManager.OneNote.Modules.Applications.Views.INoteView\n\t
RequiredTypeIdentity\tWaf.InformationManager.OneNote.Modules.Applications.Views.INoteView\r\n"
我该如何解决这个问题?
我解决了我的问题(感谢 sgrassie) 我没有创建 NoteView.xaml(它实现了 INoteView 并在类头添加 [Export(typeof(INoteView)] )
【问题讨论】:
-
如果我已经回答了您的问题,您应该将我的回答标记为已接受。
标签: c# attributes mef waf