By fookyean - 6/9/2006
I try to add a new SF DevExpress maintenance form into the project and the followings error come out :
Project Template Wizard
The assembly reference "DevExpress.Utils.v6.1.4.0, culture=neutral, PublicKeyToken=79868b8147b5eae4" could not be added to the project. The wizard will continue to run, but the resulting project may not build properly.
Then I open the form, it shows :
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
The designer cannot process the code at line 24: Me.PanelControl1.Dock = System.Windows.Forms.DockStyle.Fill The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again.
Hide Edit
at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.CreateQuoteExpression(XmlElementData xmlElement)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.XmlElementData.get_CodeDomElement()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.EndElement(String prefix, String name, String urn)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.Parse(XmlReader reader)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.ParseXml(String xmlStream, CodeStatementCollection statementCollection, String fileName, String methodName)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.OnMethodPopulateStatements(Object sender, EventArgs e)
at System.CodeDom.CodeMemberMethod.get_Statements()
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
I am using DevExpress 6.1.5 evaluation, is the new version 6.1.5 not supported ?
|
By StrataFrame Team - 6/9/2006
We compiled the DevExpress inherited controls using the 6.1.4 dlls. We did not specify that any version could be used, however, we will look into this. If you have a full purchased license, you can recompile the StrataFrame Inherited UI source code referencing the version of DevExpress that you are using, but yes, the version you have requires 6.1.4.
|
By fookyean - 6/9/2006
Thanks for quick reply. As the DevExpress only provide 6.1.5 version for download, I cant get the 6.1.4 version. Is the support for 6.1.5 version available soon ? Due to evaluation period of SF, I would like to continue the evaluation ASAP.
|
By fookyean - 6/12/2006
I has manually add the reference for DevEx Assembly and the above error is disappear. However, when open the form, the following error come out,
Warning 1 Could not find type 'MicroFour.StrataFrame.UI.Windows.Forms.DevEx.MaintenanceFormBarManager'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. 0 0
Warning 2 Could not find type 'MicroFour.StrataFrame.UI.Windows.Forms.DevEx.GradientFormHeader'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. 0 0
Warning 3 Found conflicts between different versions of the same dependent assembly. TianDi
Warning 4 The variable 'GradientFormHeader1' is either undeclared or was never assigned. D:\StrateFrame Project\Windows\TianDi\TianDi\Form\ProductGroupForm.Designer.vb 71 0
Is that because of DevEx version conflict ?
|
By Trent L. Taylor - 6/13/2006
Yes, this has to do with the assembly version issue. We are going to change the wrapper to not rely on the DevExpress version and just look to the public key in the future. This will resolve different versions of the DevExpress controls. But the warnings are due to the version conflicts.
|
By Glen Germaine - 6/17/2006
Hi guys,
Any idea when the update on the Devexpress wrapper might be available? I too have just signed up and as an avid Devexpress user, I would love to explore the product fully.
Cheers and thanks,
Glen
|
By Trent L. Taylor - 6/17/2006
Glen,We just got back from Tech-Ed yesterday and will be back in the office Monday. It is our goal to have an update available on the website by Monday evening with a few fixes and updates, including the DevExpress non-version specific templates. Thanks.
|
By Glen Germaine - 6/17/2006
Thanks Trent,
I hope Teched treated you all well and that the hangovers aren't too bad
|
By Trent L. Taylor - 6/18/2006
Glen,We had a great show and are excited about the response we got. I think that we have all recovered and are ready to do a little coding .
|
By Glen Germaine - 6/22/2006
Trent L. Taylor (06/17/2006) Glen,
We just got back from Tech-Ed yesterday and will be back in the office Monday. It is our goal to have an update available on the website by Monday evening with a few fixes and updates, including the DevExpress non-version specific templates.
Thanks.
Hi Guys, any update on the Devex Wrapper as yet?
Cheers,
Glen
|
By StrataFrame Team - 6/22/2006
Yes, sir, the non-Version specific update is posted in the MyAccount area. Have fun
|
By Glen Germaine - 6/22/2006
Thanks for the super-quick reply...
Hmm.. seems I have a little problem. I downloaded that build yesterday...
After Uninstalling, and installing this latest build... opening a Solution and running the 'Create StrataFrame toolbox tab' command from the StrataFrame menu.., I do have the 'StrataFrame Controls and Components' tab, but I do not have StrataFrame Inherited Controls' as shown in the Devexpress Sample video.
Thought I was going nuts not seeing the 'EnhancedList' control until I realised I was missing a tab. I can see and use the 'standard' Winforms controls, no probs.
I have Devexpress 6.1.5 DXProfessional installed.
Oh, and yes, during the install I did have the Install Devexpress Wrapper checkbox checked.
I've tried the Uninstall, reboot Install thing twice.. so any suggestions are welcome.
Thanks Gents.
|
By StrataFrame Team - 6/22/2006
If you check the C:\Program Files\Common Files\MicroFour\StrataFrame\ folder, do you have the MicroFour StrataFrame Inherited UI.dll assembly? If the assembly is there, then the "Create StrataFrame Toolbox Tab" menu option should be creating both the "StrataFrame Controls & Components" tab and the "StrataFrame Inherited Controls" tab.
|
By Glen Germaine - 6/22/2006
Yup, its there... Microfour StrataFrame Inherited UI.dll (and .xml)
I browsed to the dll from the Toolbox and tried to add it manually, but I received an error referring to 'cannot load file or assembly' Devex Editors 6.1.4.
The Microfour StrataFrame Inherited UI.dll file details are
184KB (188,416 bytes)
Created and Modified dates Wed 21st June 2006 9.10.48 am
File Version 1.4.0.0
|
By Glen Germaine - 6/22/2006
Hold the phone... It's fixed. 
A reboot after reinstalling seems to have fixed it... I have no idea why. I now have the Inherited Controls available.
|
By StrataFrame Team - 6/22/2006
Oh, yes, the GAC probably cached the Inherited UI assembly that was tied to 6.1.4 and it was throwing exceptions when trying to add the toolbox items. After rebooting, the correct assembly that you installed was available and started working.Dang that GAC 
|
By Trent L. Taylor - 6/22/2006
Yes, I noticed this yesterday. The problem is actually in the uninstall because it is leaving the Inherited UI in the GAC for some reason. You can manually delete the Inherited UI from the GAC after the uninstall and the load the new update and you won't have to reboot. We will fix this before the official release of 1.4.1.Glad you got going!
|
By Glen Germaine - 6/23/2006
Hi.. Still having issues with the DX Inherited Controls
1) The toolbox items appeared once (then I jumped the gun and posted on the forum). That was the only time they have been seen.. I closed that solution, created a new SF Winforms App and the Inherited UI toolbox was gone. All the re-running of the 'Create Toolbox', uninstalling, rebooting, disabling addins and a good deal of praying..(and cussing) hasn't done any good.
2) Adding a Devexpress Maintenance Form to a solution results in the same designer warnings listed in this thread in an earlier post:
Could not find type 'MicroFour.StrataFrame.UI.Windows.Forms.DevEx.MaintenanceFormBarManager'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
Could not find type 'MicroFour.StrataFrame.UI.Windows.Forms.DevEx.GradientFormHeader'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
The variable 'GradientFormHeader1' is either undeclared or was never assigned.D:\StrateFrame Project\Windows\TianDi\TianDi\Form\ProductGroupForm.Designer.vb Line 71
To ensure that this wasn't something weird with my VS2005 setup, I have run up a clean WinXP SP2 Virtual Machine, and installed only VS2005, Devexpress 6.1.5 and Strataframe. You guessed it.. I see exactly the same errors in that installation.
References are set and the annoying thing is that the solution will run and display the form. It's the Designer that has a cow and refuses to play..
One odd thing I've noticed is that if I browse to the MicroFour StrataFrame Inherited UI.dll from the Toolbox and try to add it, it gives me an error that says "Could not load file or Assembly 'Devexpress.XtraEditors.v6.1, Version 6.1.4, etc etc"
Is it possible there is still something hidden away in that dll that is looking for the specific version?
Cheers,
Glen
|
By Trent L. Taylor - 6/23/2006
Glen,Try something for me. Below is a list of actions I want you to try to see if we can get you going. - Close down all Visual Studio instances
- Download the latest StrataFrame 1.4.1 install from the website.
- Uninstall StrataFrame through the Add/remove programs
- Open Windows Explorer and navigate to c:\windows\assembly
- You will more than likely see two SF libraries. Delete the MicroFour StrataFrame Inherited UI (leave the license alone)
- Now install the new version of SF
- Once complete, open Visual Studio and create a new project and open a blank form (just doing this so you can see the toolbar items get created)
- From the StrataFrame menu, create the toolbox items
- You should see the StrataFrame Inherited tab get created
- Close the temp project we created (no need to save)
- Close Visual Studio (to remember your tab settings)
- Done!
There should be a few steps above that you haven't tried yet. I think your problem is the old assembly hangin around in the GAC. There is an issue with the uninstall that is not removing it from the GAC so the new assembly (which has the same version) is loaded, it gets ignored...thus you still have the old assembly reference. If this doesn't work, we will have a screen sharing session and I will get you going. Thanks for your patience 
|
By Glen Germaine - 6/23/2006
Thanks Trent, Wil go through all the above and report back.
Appreciate the assistance.
Glen
|
By StrataFrame Team - 6/27/2006
In case anyone was wondering, we have a SF 1.4.1 build in the MyAccount area of the website that supports DevX 6.1.5.
|