We're currently looking at upgrading some of our Delphi applications from XE7 to 10.3 and have run into a problem with our custom components.
I've tried 2 options.
I've copied, opened in 10.3, and re-compiled the original component package.
I've created a new package in 10.3, added a copy of the relevant
.pas
files, and compiled a new.bpl
/.dpk
file.
In both cases, I get a package that I can install into the IDE, and which allows me to add the component into a new project.
However, in both cases, I get "Can't resolve unit name "NewComponent""
in the IDE, and "Unit "NewComponent" not found"
when I try and use the component in the project.
I remember this being an issue on previous Delphi updgrades, but have forgotten the trick to fix it.