project-reference

Why do I get a warning icon when I add a reference to an MEF plugin project?

怎甘沉沦 提交于 2019-11-26 12:50:07
问题 I wish to test the core class of a plugin by directly referencing the plugin project and instantiating the plugin class. When I create a test Console App project and add a project reference to the plugin project, I get a warning icon (yellow triangle with exclamation mark) next to the reference in the References list. When I instead add a reference to the dll, the assembly build output of the plugin, I get no such warning. What could this warning be trying to tell me? 回答1: As mentioned in the