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

后端 未结 23 1444
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 17:30

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 p

23条回答
  •  [愿得一人]
    2020-11-30 18:23

    For both of (or all of) the projects that you want to use together:

    Right click on the project > Properties > Application > Target .NET framework

    Make sure that both of (or all of) your projects are using the same .NET framework version.

提交回复
热议问题