While doing some programming using C++/CLI for .NET interop, I ran across this compiler error:
error C2872: ‘IServiceProvider’ : ambiguous symbol
As the MSDN reference indicates, the compiler can’t sort out a symbol because it encountered multiple definitions. In this case it was because of a core IServiceProvider definition that was not part of my code.
