Error While Opening Project – “Could not find a part of the path … .mxunit”

0
Hi everyone, I am facing an issue while opening my Mendix project. When I try to open the app, I get the following warning (screenshot attached): “Something wrong happened while opening the project: Could not find a part of the path … .mxunit You could revert all changes to the last committed state. Please be aware that you could lose your changes while reverting.” I want to highlight a few things I have already tried: 1. I have not deleted any file from the project folder. 2. I have removed all the module packages from Mendix Studio Pro completely, removing all instances, and downloading them again from sprintr to my last commit. Has anyone experienced this before? Is there any solution other than reverting all changes? I want to avoid losing my work if possible. Any guidance or suggestions would be greatly appreciated. Thanks in advance!
asked
2 answers
0

Did you try to delete deployment folder in your root folder, and then open the project?

answered
0

Hi Amisha Singh,

 

if you have less changes then try these:

Close Studio Pro and clear your local project cache:

C:\Users\<your user>\AppData\Local\Mendix\

→ Delete the folder related to this project (Mendix will recreate it)

 

 Open Studio Pro → Version Control → Download project from Team Server

Choose the same branch and let it download fresh

 

Make sure the local project folder path still exists or download into a new clean folder

 

If it still fails, try File → Restore from backup (.mpr)

 

 

Otherwise try these:

If the project won’t open at all, there are still two ways to take a backup of your latest changes:

 

Copy your entire local project folder manually

Go to your local workspace directory and copy the whole folder (including .mpr and .svn/.git folders) to a safe backup location.

This preserves all uncommitted changes.

 

Use “Export Project Package (.mpk)” if .mpr still exists

If the .mpr file is present inside the project folder, right-click it and choose Export (from File Explorer integration).

This creates a package with all recent changes.

 

Note: If the .mpr file is missing or corrupt, only the local folder copy method will work.

 

answered