Code::Blocks Forums

User forums => Help => Topic started by: codinglexernewbie on December 26, 2022, 10:11:04 pm

Title: .cbp file disappeared
Post by: codinglexernewbie on December 26, 2022, 10:11:04 pm
i renamed the project, and played around with git, but before i realized it, the .cbp disappeared, i have the rest of the files, how do i make a new .cbp file or restore the old one?
Title: Re: .cbp file disappeared
Post by: Pecan on December 27, 2022, 06:46:57 am
When that happens to me, I move the good files to a safe place.

Then recreate a new project just like the one I did for the original.

Then I just copy the old saved files back to the original location. The new .cbp file should now be pointing to the files originally in the deleted .cbp .

Be sure to add any files not in the original .cbp with MainMenu->project->add files.

Also re-change any options you may have changed for the original project.

You're now back in business.