BO Rebuild Project under 1.7.0 errors


Author
Message
Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462

 

I am trying to find out why after loading the update from 1.6.5 to 1.7.0 when trying to rebuild a BO project I am getting the error: microfour.strataframe.business.fieldpropertydescriptor 'does not contain a constructor that takes '1' arguments on all references in code like:

 

       private class Field_CONTTERM_PKCODEID_Descriptor : MicroFour.StrataFrame.Business.FieldPropertyDescriptor

        {

            public Field_CONTTERM_PKCODEID_Descriptor() : base("CONTTERM_PKCODEID") { }

            private System.Type _PropertyType = typeof(System.Decimal);

            public override object GetValue(Object component)

            {

                return ((tbl_ContractTerm_1)component).CONTTERM_PKCODEID;

            }

I have verified the dlls are 1.7.0 that are references. The project builds without erros in 1.6.5 but about 1300 erros under 1.7.0. Could it be that I need to regenerate the BOs under the new 1.7.0?

 

Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
I regenerated a few BOs then did the BUILD of the project and those errors went away. Not sure why, but this may be the issue. Please let me know if this is the solution.
Edhy Rijo
E
StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Ross,



Yes version 1.7.0.0 does require you to partially build all BOs in the BOM, then rebuild your project. sometimes after this you may need to exit VS and open it again to fix all broken references properly.

Edhy Rijo

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Just to follow up since you also emailed us on this issue, you MUST rebuild all of the partial classes when going to version 1.7.  This is mentioned several different places in the help, and was also in the new release email that went out as well as the news article that was posted.

FYI, in future updates, if you will take a look at the Upgrading to version X.XX, we try to put any information in there like this that could resolve or cause any issue in this capacity.

At any rate, it looks like you are going and that is what matters! Smile

Attachments
BOMapper.png (113 views, 24.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search