OneDrive is notorious for these kind of problems. Setting your mendix directory to a location that does not get synchronised will solve it.
You can change your directory when you download your app, or just manually copy/paste the folder to another directory and open the .mpr from there.