Unity application block 2.0 - The given assembly name or codebase was invalid

前端 未结 7 1547
-上瘾入骨i
-上瘾入骨i 2021-01-04 03:26

Interfaces (In the assembly named \"Interfaces\". In project :- Interfaces)

namespace Interfaces
{
    public interface IDoSomeWork1
    {
          


        
7条回答
  •  走了就别回头了
    2021-01-04 04:27

    Please make sure, that you have added assembly references of the missing assembly in the project where your web.config file exists.

    I was missing this. I already have added those assembly references in the project which was using Unity to resolve the class, but missed to add it in the parent project where configuration file was located. This has resolved my problem.

提交回复
热议问题