Projects made in enterprise trial version don't build after registering professional version

I initially downloaded the trial enterprise edition. When it expired I registered the professional edition. After some license problems I uninstalled RAD studio completely and reinstalled with the new license. It now runs but my projects I created in the trial version no longer work. There are many references to enterprise only packages (mostly database stuff) in the project files even though I wasn't using them. Trying to remove all the references from the project files in a text editor takes a long time and even then it complains about missing packages. If I create a new project and copy the code over from the old project then it works, but this takes time. Is there an easier solution?