I've found the solution. It seems ServiceStack.Mvc uses ServiceStack
3.7.8 in the references but NuGet added automatically 3.7.9. That
version mismatch caused the problem:
error CS1502: The best overloaded method match for
`System.Web.Mvc.ControllerBuilder.SetControllerFactory(System.Web.Mvc.IControllerFactory)'
has some invalid arguments
In my case the solution was to rebind all references in Mvc site from
3.7.9 to 3.7.8 or rebuild ServiceStack.Mvc against ServieStack.3.7.9.