1. Malek Taha
  2. PowerBuilder
  3. Monday, 25 April 2022 16:51 PM UTC

Hi

   I haver an application compiled with an earlier version of the 2019 runtime ide. I upgraded my PB version to 2728 when i open the app  i get the message

"The version you used to full build the target :LabelLibrary" is different from the current IDE Version (19.2.0.2728). Do you want to full build using the new id version?" 

I select Ok and it does the compile with no errors just some warnings.

Every time i open the app it ask the same question.

Don't know what to do next.

Please help

Thanks

Malek

 

 

 

Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 26 April 2022 03:54 AM UTC
  2. PowerBuilder
  3. # 1

Hi Malek,

First I suggest you open your Application Object by Edit Source and check if the appruntimeversion inside is "19.2.0.2728".

global type test from application
string appname = "test"
string themepath = "C:\Program Files (x86)\Appeon\PowerBuilder 19.0\IDE\theme"
string themename = "Do Not Use Themes"
boolean nativepdfvalid = false
boolean nativepdfincludecustomfont = false
string nativepdfappname = ""
long richtextedittype = 2
long richtexteditx64type = 3
long richtexteditversion = 1
string richtexteditkey = ""
string appicon = ""
string appruntimeversion = "19.2.0.2728"

Next, open your PBT file in Notepad and check if the appname value has any upper-case letter. If any, change it to lower-case then verify if the issue is gone.

Save Format v3.0(19990112)
appname "test";
applib "test.pbl";
liblist "test.pbl";
type "pb";

You can also try creating a new PBT file for your application in New -> Target -> Existing Application then see if the issue is gone.

 

If the issue remains, please upload your Application Object and PBT file for us to check.


Regards,
Ken

Comment
  1. Malek Taha
  2. Tuesday, 26 April 2022 17:34 PM UTC
Thank you very much Ken.

The app name on the pbt file had uppercase letters i made them lowercase and the issue is resolved.



Thanks again for your help as we move this app closer and closer to the latest versions of PB.



Thanks again for your help.

Thanks

Malek

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 25 April 2022 17:57 PM UTC
  2. PowerBuilder
  3. # 2

Hi Malek;

  Build 2728 is PB2019R3. In this revision, Appeon decoupled the IDE from the PB runtime. So once you migrate the older PB App, please make sure that you ...

  • Select the menu TOOLS => System Options => General ... and make sure that the Run Time version is set to 2728 
  • Open your PB App's "Project" object(s) and in the "Run" folder, also make sure that the runtime version is set to 2728

HTH

Regards ... Chris

Comment
  1. Malek Taha
  2. Monday, 25 April 2022 20:51 PM UTC
Thanks for the quick response Chris.

it all checked out but everytime i open powerbuilder and open the workspace it says the compiled version is different from the IDE version and ask if i want to compile with the IDE version i say yes it compiles with no errors. when i close the IDE and open it again it does the same thing again ask if i want to upgrade.



Not all the apps does this just a couple.



Thanks

Malek

  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 25 April 2022 20:56 PM UTC
HI Malek ... I had a weird situation like that once before. I had to edit the TARGET file using notepad and make sure that the Application Object name was in all lower case. That stopped the constant migration. HTH
  1. Helpful
  1. John Fauss
  2. Monday, 25 April 2022 21:02 PM UTC
When you open in PB one of the apps that exhibits this behavior, do you have the ability to save changes to the Application object? I believe PB is comparing the runtime version selected in the IDE against the application object. If there is a mismatch, you get prompted and the app gets recompiled. If PB is not able to record the runtime version in the app or if you are somehow refreshing the Application object prior to starting PB, you will repeat the process.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.