I dont know what I a doing false. HELPP PLEASe

Jun 18, 2013 at 11:56 AM
My Code ...

IUnityContainer container = new UnityContainer();

container
            .ConfigureAutoRegistration()
            .LoadAssemblyFrom(typeof(Test).Assembly.Location)
            .LoadAssemblyFrom(typeof(ITest).Assembly.Location)
            .ApplyAutoRegistration();
My first question.
i'am not sure, whether I have used correctly the LoadAssemblyFrom Method here?


ITest test = container.Resolve<ITest>();

if i compiling, then i get a exception "ResolutionFailedException" ??

What i do false? ?

Thank for the time, do you invest.