Skip to main content
Senior III
June 20, 2024
Solved

Rename the project does not rename the .ic file

  • June 20, 2024
  • 3 replies
  • 1481 views

I wanted to use the ioc and all the code from a project into another project. So, I copied the project and pasted in a workspace, then renamed the project, but ioc is not changed. So while opening, I get error message

Invalid Input: Must be project's active .ioc file.

Project's 'board_HW_Test' active one is 'board_HW_Test.ioc' file

Do I need to rename only the ioc or any other changes without loosing the data.

This topic has been closed for replies.
Best answer by Techn

I just renamed the ioc file

3 replies

Peter BENSCH
ST Technical Moderator
June 20, 2024

The project name must match the name that is also stored in the IOC under

  • ProjectManager.ProjectFileName
  • ProjectManager.ProjectName

Normally you should not change the IOC, but if you have a backup copy, you can open it now with a text editor (e.g. Notepad++) and change these strings to the new name.

Hope that helps?

Good luck!
/Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
TechnAuthor
Senior III
June 20, 2024

But why does cubeIDE does not make that change when I use the option to rename project?

"If you feel a post has answered your question, please click ""Accept as Solution""."
TechnAuthorBest answer
Senior III
June 20, 2024

I just renamed the ioc file

"If you feel a post has answered your question, please click ""Accept as Solution""."