How can I prevent Unresolved externals with Slate on UE 4.2?

In 4.2, Slate has been split into Slate and SlateCore. If you were depending on Slate before, SlateCore is what you need to depend on now. Depending on what you are using from Slate, you may also need to depend on the Slate module too.

Hi,

I am getting an unresolved external error on every Slate method. My projects build OK on UE 4.0 and 4.1 but 4.2 preview seems to break this. Is there a new dependency ?

Thanks !

Solution : add SlateCore to the dependencies.

Yes, either one alone did not work for me.
So I added them both:

    PrivateDependencyModuleNames.Add("Slate");
    PrivateDependencyModuleNames.Add("SlateCore");