First, it's important to identify the reasons why developers work on multiple projects. If this compromises the project deliverables, but a specialist wants to have additional assignments, develop in another direction, or have a better compensation, you can discuss if this is possible to achieve in your company. Set the realistic expectations and deadlines for a specialist's individual development plan.