0
rihui hu created
Hey, Hello, everyone! Here I would like to ask a question.If I created a console program or assembly,Then I installed the mirror from the ABP Nuget.Finally, I create a module, which is the code. IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly()); Then I take it for granted that the structure of the injection has been successful, in fact did not! So tell me how to get the configuration inject it! Thank you!
1 Answer(s)
-
0
Hi,
If you develop a console application, you should bootstrap the ABP, so it can find and execute modules.
There is a sample here: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/AbpEfConsoleApp">https://github.com/aspnetboilerplate/as ... ConsoleApp</a>