Base solution for your next web application
Open Closed

IocManager.IocContainer.Register object in Shared DLL #9049


User avatar
0
andmattia created

I

I add a custom interface to a DTO on a object defined on Application.Shared. If i use a IConventionalDependencyRegistrar to register it I don't find my object. My project is based on ABP 4.8.1 .NETCore (4.6.1)

For more complete understaning my landscape if I move my object to Application it is register it in correct way.

So my question is how to solve this issue because Application.Shared is used on Xmarin and is not a module, I need to convert it into a module? If yes is need to use a #IF #ENDIF statement on compilation to prevent module definition for Xamarin?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    We created abp modules for Application.Shared and Core.Shared in the 7.3 version.

    https://github.com/aspnetzero/aspnet-zero-core/commit/58077377fe75756230f695254a677d4e5293ee5c

  • User Avatar
    0
    andmattia created

    Ok thanks for your reply.