StrataFrame Forum

DevExpress

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

By Daniel Essin - 5/10/2007

In the source code I only see an Infragistics wrapper. DevExpress is up to 7.1.2 but the wrapper that gets installed expects 6.3.



Have you abandoned the DevExpress wrapper?



Thank you
By StrataFrame Team - 5/10/2007

No, it hasn't been abandoned, it just has not been compiled on the latest version.  If you have 7.1.2, you can open the source code, change the references, and recompile it.
By StrataFrame Team - 5/10/2007

Oh, and the DevExpress wrapper is called MicroFour StrataFrame Inherited UI, not MicroFour StrataFrame DevExpress Wrapper...

I think it's compiled on 6.3.3...

By Daniel Essin - 5/13/2007

L've rebuilt the Inherited.UI with all of the references set to DevExpress 7.1.2

The build was uneventful. I then replaced the assembly in the GAC.



Then I went to add the Wrapped Items to the Toolbox. I assumed that I would do that by pointing to the new inherited.ui.dll but when I do that it complains about version 6.3.3 missing.



I've attached a screen shot. This has me baffled but it's probably simple - or was I going about the toolbox issue incorrectly?



Thanks
By Daniel Essin - 5/13/2007

Well, I poked at it for about an hour rebuilding, re-gacutiling, etc.

It suddenly works and the items are added to the toolbox.



I have no clue what changed. As far as I can tell I didn't do anything different.


By Trent L. Taylor - 5/14/2007

More than likely you got out of Visual Studio and came back in.  SInce the inherited UI is stored in the GAC it will have already been loaded in the AppDomain within the VS environment.  When building any assembly that is stored in the GAC (and especially when placed there automatically), you must exit VS and come back in to avoid any type of version conflict.
By Daniel Essin - 5/14/2007

That's undoubtedly what happened. I do that sort of operation so infrequently that I forget to close VS.



Thanks for the help.
By Peter Jones - 5/17/2007

Hi

I've just been down the 7.1.2. path and pretty much found all the problems (again) that I went through in my thread of Jan 27th: "Error in build after changing DevExpress..." The main issues again seemed to be:

1) The licence file is updated with a rebuild

2) The file C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\afterbuild.bat does not exist and I had to load the one you sent me in the above thread.

I think I'm pretty right now but what would be very useful is a step-by-step set of instructions on how to migrate StrataFrame to a later version of DevExpress.

Cheers, Peter

By Daniel Essin - 5/18/2007

It turned out to be pretty simple.

1 - I opened the Inherited.UI .sln file

2 - I added a reference to each 7.1.2 component that matched one of the 6.3 references

3 - I deleted the old references

4 - I did a rebuild.

5 - Close Visual Studio and reopen

6 - create a toolbox tab for the new items

7 - I chose Add items to toolbox and selected the inherited DevExpress items.



I didn't have an existing project so I don't know how much work it would be to update components that were already on forms and I don't know if the DevExpress project upgrader would do any good here.
By Trent L. Taylor - 5/18/2007

Daniel's steps are actually all that really need to be done.  You are probably correct in that a document in the help file never hurt anyone....but I am glad that you at least know what needs to be done Smile  Let us know if you have any other issues changing the references.
By Peter Jones - 5/18/2007

Hi,

Yes, I did the above but the differences in my ourcome was:

1) The licence file is ** missed the word NOT in the original post ** updated with a rebuild

2) The file C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\afterbuild.bat does not exist and I had to load the one you sent me in the above thread.

I'm updating with current projects already built.

Cheers, Peter