ladendirekt / pjsip4net

A wrapper library exposing the pjsip library to the .NET world in a OO-friendly way.
71 stars 42 forks source link

No component for supporting the service pjsip4net.Core.Interfaces.ApiProviders.IBasicApiProvider was found #95

Closed appgurung closed 5 years ago

appgurung commented 5 years ago

I decided to migrate the working console app to web api project. But am getting: No component for supporting the service pjsip4net.Core.Interfaces.ApiProviders.IBasicApiProvider was found when ever it gets to line ua = cfg.Build().Start();

Please assist. What am I missing or am not doing right.

siniypin commented 5 years ago

Make sure you copy pjsip.Interop.dll and pjsua.dll files to you bin folder. https://github.com/siniypin/pjsip4net#interop-assembly-automatic-discovery

siniypin commented 5 years ago

https://github.com/siniypin/pjsip4net/blob/master/Tests/Integration/pjsip4net.Console/pjsip4net.Console.csproj#L121

appgurung commented 5 years ago

Thanks so much.