Using a plugin in C++ code

"then it is sufficient to add the plug-in as a dependency to your game’s Engine.ini "

I did this and it was still not enough.

[Plugins]
EnabledPlugins=CustomMeshComponent

Was this not enough? Did I not put this code in the right location?