MEF Error message
- by cmaduro
Can anybody explain this error message:
The composition remains unchanged. The
changes were rejected because of the
following error(s): The composition
produced a single composition error.
The root cause is provided below.
Review the CompositionException.Errors
property for more detailed
information.
1) No valid exports were found that
match the constraint
'((exportDefinition.ContractName ==
"Silverbits.ApplicationServices.ApplicationServicesManager")
AndAlso
(exportDefinition.Metadata.ContainsKey("ExportTypeIdentity")
AndAlso
"Silverbits.ApplicationServices.ApplicationServicesManager".Equals(exportDefinition.Metadata.get_Item("ExportTypeIdentity"))))',
invalid exports may have been
rejected.
Resulting in: Cannot set import
'Silverbits.Applications.SilverbitsApplication.ApplicationServices
(ContractName="Silverbits.ApplicationServices.ApplicationServicesManager")'
on part 'Manpower4U.App'. Element:
Silverbits.Applications.SilverbitsApplication.ApplicationServices
(ContractName="Silverbits.ApplicationServices.ApplicationServicesManager")
-- Manpower4U.App