Hi Ashley,
Keep your Mendix app package out from your one-drive folder. This will resolve your issue
Looks like you are building within One Drive. The sync here might be an issue
OneDrive is the problem here.
When you build your application OneDrive is trying to sync files that Studio Pro is working on and you end up with corrupted data.
The solution is to move your Mendix project out of One Drive. You may find it easier to download a fresh copy from version control if your local files are really messed up.