- Aliaksei Hlinski
- PowerServer
- Thursday, 26 January 2023 08:21 PM UTC
Hello, so I have a project with 2 applications, let's call tem "sales" located in "sales" folder and "sales_config" located in "sales_config" folder and there is "sales_shared" folder with shared pbls. I used to have resources with absolute path in these applications, but when deploying application "sales_config" to PowerServer I had to change resources to relative path. So I've put all resources in subfolder called "Q" in project's root folder. sales_config.pbr is located in root folder as well. In resource file and in the code references to resources are like this, for example, ".\Q\<...>\logo.ico". This works fine when I deploy PowerServer project and this works fine when I build/deploy both windows project right after PowerServer deployment and will work fine until I close PowerBuilder IDE. But if I open PowerBuilder IDE and try to deploy windows project first, I will get "could not find resource file" error window. So I have to deploy PowerServer project first and only after that my windows projects are deployed without resource errors. What can I do to be able to deploy windows projects independent from PowerServer project?
PowerBuilder/PowerServer are 2022 build 1892.
Thanks,
Aliaksei.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.