I used to use Permatex Aviation on everything, but for my oil pan...

I sprayed Permatex High Tack on the block side of the gaskets.
It's about impossible to get too much on, and really only used it to hold the gaskets in place while I put the pan on.
I didn't even use silicone at the "corners", as I've come to hate the stuff for various reasons.

I'm perfectly happy with the results.