You tried to remove the primary file from a component's file list when publishing the component. You can't remove the file that was specified as the primary file in Step One of the Publish Wizard.