Open AArnott opened 6 years ago
This would have to be a backwards incompatible change. TemplateTextViewConnectionListener
could export itself as multiple types. If it is rejected from the graph then it will break components that imported it as one of the other types it was exported as.
When vs-mef encounters this graph error:
EXPECTED
The
TemplateTextViewConnectionListener
MEF part should be rejected from the graph, as that is where the fault lies.The graph analysis justification for this may be any or all of the following reasons:
WpfTextEditorFactoryService
has the[ImportMany]
attribute, suggesting it's in a more vulnerable position to bad actors, and should not be penalized when one exists.ACTUAL
vs-mef throws out the
WpfTextEditorFactoryService
instead.