Hello,
I converted a workspace to solution in PB2025 beta, so that I now have text files for objects in pbl-folders.
I have some simple hand-made CASE tools, written in PB, that generate PB objects and use ORCA to add them to PBLs.
Of course they do not work with solutions since ORCA is not supported, so I'm trying to figure out how to programmatically import objects in solutions.
I guessed that it was enough to put the new object .sr* file in the pbl-folder, but that does not work: the newly added file is not visible in the System Tree. I tried to "realign" the pbl-folder content with the System Tree via Incremental and Full Rebuild with no success.
What is the new way to programmatically import objects in pbl-folders? Am I missing something?
Thank you,
Luca
I manually updated the .pbproj file adding the new object and immediately the PB IDE showed a MessageBox saying: "The solution has been modified. Do you want to reload it?" and then: "The current build result is outdated due to project changes. Do you want to do an incremental build now?".
I pressed Yes and the new object was successfully added to the pbl folder :-)
It will be easy to write a script that aligns the .pbproj file to the pbl folder content, so for now it's enough for me; obviously it would be better to have an official tool to do it.
Thanks a lot!
Luca