Skip to main content
gocchan
Senior
Oct 21, 2026 4:07 AM UTC
Solved

Import entire hierarchical project structure?

 Hello, 

When I try to create a project, I get a message saying that the project already exists in the workspace.
However, I don't have such a project anywhere on my PC.

 

 

 

 

 

 

 

 

When I select Yes, I am asked if I want to delete an old project (which doesn't actually exist). When I check the box and select OK, I get a success message, but it looks different from other healthy projects in Explorer and I can't build it.

 

 

 

 

 

 

 

 

 

 

I uninstalled CubeMX and CubeIDE and deleted as many related folders as possible.


C:\Users\<UserFolder>\.stm32cubeide
C:\Users\<UserFolder>\.stm32cubemx
C:\Users\<UserFolder>\.stm32cubeup
C:\Users\<UserFolder>\.stmcufinder
C:\Users\<UserFolder>\STM32Cube
C:\Users\<UserFolder>\STM32CubeIDE
C:\Users\<UserFolder>\STMicroelectronics
C:\Users\<UserFolder>\AppData\Local\Programs\STM32CubeMX
C:\ST

 

Reinstalling CubeMX and CubeIDE and creating a project again resulted in the same problem.
Where is the information for this non-existent project stored?

Best regards, 
Gotoda

Souhaib MAZHOUDBest answer
ST Technical Moderator
Oct 21, 2026 9:24 AM UTC

Hello ​@gocchan 

Thanks for reporting this issue in STCommunity,

Could you click  ”NO” when you get the message saying that the project already exists in the workspace, and check if the project is imported correctly?

KR, Souhaib

To give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.

2 replies

Souhaib MAZHOUDBest answer
ST Technical Moderator
Oct 21, 2026 9:24 AM UTC

Hello ​@gocchan 

Thanks for reporting this issue in STCommunity,

Could you click  ”NO” when you get the message saying that the project already exists in the workspace, and check if the project is imported correctly?

KR, Souhaib

To give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
gocchan
gocchanAuthor
Senior
Oct 27, 2026 2:11 AM UTC

Hello ​@Souhaib MAZHOUD , 

Thank you for your guidance.

By selecting "No" when prompted "Would you like to remove it and import the new version?", I was able to build the project.

 

 

 

 

It's a bit cumbersome having to go through this process every time I generate code with CubeMX.

I don't think this addresses the root cause, but for now, I can proceed with development.