Could not load type from assembly error

前端 未结 25 1392
温柔的废话
温柔的废话 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:05

    If this is a Windows app, try checking for a duplicate in the Global Assembly Cache (GAC). Something is overriding your bin / debug version.

    If this is a web app, you may need to delete on server and re-upload. If you are publishing you may want to check the Delete all existing files prior to publish check box. Depending on Visual Studio version it should be located in Publish > Settings > File Publish Options

提交回复
热议问题