Could not load type from assembly error

前端 未结 25 1383
温柔的废话
温柔的废话 2020-11-30 03:30

I have written the following simple test in trying to learn Castle Windsor\'s Fluent Interface:

using NUnit.Framework;
using Castle.Windsor;
using System.Col         


        
25条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-30 04:08

    I had the same issue and for me it had nothing to do with namespace or project naming.

    But as several users hinted at it had to do with an old assembly still being referenced.

    I recommend to delete all "bin"/binary folders of all projects and to re-build the whole solution. This washed out any potentially outdated assemblies and after that MEF exported all my plugins without issue.

提交回复
热议问题