By Alex Luyando - 3/2/2011
Hi all -
I am having a problem with an existing solution after upgrading to StrataFrame 1.7.3. (I know! But better late than never!) Attempting to rebuild my solution I get: Error 34 The type 'DevExpress.XtraBars.BarManager' is defined in an assembly that is not referenced. You must add a reference to assembly 'DevExpress.XtraBars.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a'.
This error references only one of the forms that are part of my solution, which is interesting as I don't recall anything special about that particular form. Also note that all my current references to DevExpress DLLs are for v9.2; we do not have a license for DevExpress 10.x
Based on similar postings here for prior releases I looked at the references in the MicroFour StrataFrame Inherited UI solution on my development workstation (Note: have two such solutions; one in C:\Program Files\MicroFour\StrataFrame Source Code and one in C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI), I see references to various DeVExpress DLLs, but all for v9.2, not 10.1....
Before I start hacking away I could use some direction on how best to proceed. |
By Ivan George Borges - 3/2/2011
Hi Alex.
Follow the steps on this post:
http://forum.strataframe.net/FindPost14742.aspx
|
By Alex Luyando - 3/2/2011
Hi Ivan!
Thanks for the quick reply... I'll have a look!
|
By Alex Luyando - 3/2/2011
Ivan -
That and related posts have ZIPs for DevExpress 7.3.8; I assume I will just use the 9.2 version of the DLLs on my workstation to replace the MicroFour StrataFrame Inherited UI references, yes?
Also, and thoughts on why I have solutions for the MF SF Inherited UIs in both C:\Program Files\MicroFour\StrataFrame Source Code\ and C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI?
|
By Ivan George Borges - 3/2/2011
That and related posts have ZIPs for DevExpress 7.3.8; I assume I will just use the 9.2 version of the DLLs on my workstation to replace the MicroFour StrataFrame Inherited UI references, yes?
Yep, that is the idea. Change the source code references and rebuild it.
Also, and thoughts on why I have solutions for the MF SF Inherited UIs in both C:\Program Files\MicroFour\StrataFrame Source Code\ and C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI?
No idea.
Mine has the solution file under "C:\Program Files\MicroFour\StrataFrame Source Code" and the project and all other files under the "C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI"
|
By Alex Luyando - 3/3/2011
Ivan -
Thanks for the help, but not having any luck.
I've gone into the MicroFour StrataFrame Inherited UI solution and deleted the existing DevExpress references and added them back with the DE version installed on my workstation. When attempting to do a Rebuild I get an "Invalid Resx file. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Line 183, position 5." error, similar to what was reported in post http://forum.strataframe.net/Topic14711.aspx?Keywords=resx. Trent had suggested in that thread to remove the MicroFour StrataFrame Inherited UI.dll found in the GAC, which I did, but the above error persists.
So my solution is complaining about the "The type 'DevExpress.XtraBars.BarManager' is defined in an assembly that is not referenced. You must add a reference to assembly 'DevExpress.XtraBars.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a'. " error and we seem to need to update the DE references in the MicroFour StrataFrame Inherited UI solution, but that solution can't be built.
Hmmmm.... perhaps it's time for a vacation...
Any help you can throw my way is much appreciated!
|
By Ivan George Borges - 3/3/2011
I use Infragistics and there is a tool to upgrade a project to a certain version. I use this and rebuild the SF DLLs with no problem so far. Have you got something like that for DevEx? If so, get the SF source code back to its original and try running this tool.
I would also have a look at the .resx file and see if I could edit it to the proper values.
|
By Edhy Rijo - 3/3/2011
Ivan George Borges (3/3/2011) I use Infragistics and there is a tool to upgrade a project to a certain version. I use this and rebuild the SF DLLs with no problem so far. Have you got something like that for DevEx? If so, get the SF source code back to its original and try running this tool.
Yes, they have a Project Converter that should help you correct the references in the SF project with your current version. I have not used it, but it should work.
|
By Terry Bottorff - 3/3/2011
I use DevExpress and the Project Converter has worked for me every time.
|
By Alex Luyando - 3/9/2011
Thank you, gentlemen. I only have the trial version of DevExpress on this workstation, but it does have a project converter and I will give that a try. I am assuming that even once the trial expires I will not have an issue with the rebuild DLLs, yes?
If that doesn't do it for me I will try hacking the resx file as Ivan is suggesting.
If that doesn't work I'll order a Martini.
|
By Trent L. Taylor - 3/9/2011
Start with the Martini...it might get the juices flowing! Yes, you should be good though.
|