'Use Dependency Injection in a project without a Composition Root

I have a solution where the entry application is written in native C++, a CLI/C++ library acting as bridge to Managed C# and several C# libraries acting as plugins being loaded into the C++ process.

Is it possible to build the C# libraries using Dependency Injection and use them in this scenario? Where should the Composition Root be placed?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source