how to fix Autofac - require assembly qualification (my type. my assembly)

330 Views Asked by At

I did the dependency inversion with Autofac 3.5.with 3 separated projects (WorkFlowApp (MVC ASP.Net), WorkFlowAppBusiness, WorkFlowAppData) But I occurred " The type 'WorkFlowAppData.samplecontext.SampleContext, WorkFlowAppData' could not be found. It may require assembly qualification, e.g. "MyType, MyAssembly"." How can I solve?Global.asaxAutofacConfig[![webconfig[![sampleContext]3]4

SampleContext

Project structure for WorkFlowData

1

There are 1 best solutions below

0
J X J On BEST ANSWER

Finally, I got the solution. I forgot to add WorkFlowApp.DataAccess reference to my WorkFlowApp. So Dependency Injection Issue. Thanks for your times.