Settings for the preferred of work plan publication

When choosing "File mode" in the Publish Format or when selecting "Light Publish" and then "Work Plan Publish", an error occurs. What are the differences between these two settings and how should they be configured?