I am trying to register a type using Unity :
Container.RegisterType<ICommonInterfaceType, MyTypedClass>("Name001");
Here MyTypedClass
is inside an assembly which signed with a snk. So when I try to resolved, getting this error:
Additional information: Could not load file or assembly 'NM.Common.Interface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
If I removed Sign the assembly option , it works. But is there any way , Unity be able to resolve the strongly signed assemblies.
User contributions licensed under CC BY-SA 3.0