StrataFrame Forum

BO Rebuild Project under 1.7.0 errors

http://forum.strataframe.net/Topic24037.aspx

By Ross L. Rooker, Sr. - 7/31/2009

 

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?

 

By Ross L. Rooker, Sr. - 7/31/2009

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.
By Edhy Rijo - 7/31/2009

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.
By Trent L. Taylor - 8/3/2009

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