There is something wrong with your project. Did you zip the whole project correctly? MPLAB doesn’t recognize your project as a valid project.
Right-click your project and select Package to zip correctly your project. Then upload it.
Write as well your MPLAB X and XC8 versions you are using.