vendredi 27 avril 2018

How to Solve ambiguous in clr based c++?

I am a .net developer. i am new to c++ code.

In native c++ project i am changed for the clr based for accessing c#. i am writing wrapper of c++ managed clr code.I was build the code it's throw the error

"ambiguous for IServiceProvider"

Error Image:-

enter image description here

In this IServiceProvider is include in native headers and managed clr namespaces. How can i solve this problem.

I was checking internet for this problem. i am not able to find the solution. they given solution not worked for me.

pls anyone know share the knowledge.

Thanks,

Aucun commentaire:

Enregistrer un commentaire