7

I'm building an WAF project. When i debug my project. I'm encounted this problem

"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"

How do i slove this ?

I sloved my problem ( Thanks to sgrassie ) I didn't create an NoteView.xaml ( which implements INoteView and add [Export(typeof(INoteView)] at class header )

user2877989
  • 587
  • 1
  • 6
  • 19

1 Answers1

6

You are missing an [Export(typeof(INoteView)] attribute on the class which implements INoteView.

Stuart Grassie
  • 3,043
  • 1
  • 27
  • 36
  • Yeah. Thanks bro. It work. I didn't create an NoteView.xaml ( which implements INoteView and of course [Export(typeof(INoteView)] at class header ). I will update my question belove the question – user2877989 Mar 30 '14 at 19:37
  • For the last 3 days I was struggling with this problem. You are my savior. Thanks a lot :) – Saurabh R S Sep 14 '17 at 15:21