How do I rebuild the DevExpress wrapper?


Author
Message
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
ErmmHi

I recently purchase StrataFrame, actually I have VS 2088 and StrataFrame 1.6.5, also DexExpress 7.3.7, running in Windows Vista.

I found that I need to rebuild the wrapper, after look at source files I found that the Project Microfour StrataFrame Inherited UI has references to DevExpress

But here is my problem, I restore the references to my actual DevExpress version, What are the next steps.

Hope you can help me in a step by step, I'm newbie to VB.NET and all this.

Kindest regards

Juan Carlos Pazos

Smile Everything is possible, just keep trying...

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
All that needs to be be done is to open the MicroFour Inherited UI solution.  Once this is done, follow these steps:

  1. Open up the references and replace the 7.3.5 references with the same assemblies of the 7.3.7 version assemblies.
  2. Remove the older assembly references which will be in error (7.3.5 version)
  3. Right-click the solution and then click Rebuild solution (not just build)
  4. This should then rebuild the solution and place the updated assemblies in the GAC (c:\windows\assembly).
  5. At this point it is generally best to get out of Visual Studio and then come back in.
  6. You should be able to use your new assemblies that have been compiled in 7.3.7.

Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi

Thanks for your fast answer, I did what you indicate, and have oner error and one warning.

I receive this error when rebuilding:

Error 1 The command ""C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\AfterBuild.bat" "C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\bin\Release\MicroFour StrataFrame Inherited UI.dll" "C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\bin\Release\MicroFour StrataFrame Inherited UI.xml"" exited with code 9009. MicroFour StrataFrame Inherited UI

And this warning:

Warning 2 'Public Property EnumTopMostText() As String' is obsolete: 'This property has been depreciated and is no longer used.  Use the TopMostText and TopMostValue properties on the SearchFieldItem class instead.'. C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\DevExpress Extended\Dialogs\browsedialogwindow.vb 1126 77 MicroFour StrataFrame Inherited UI

Is there a way to solve?

Regards

Smile Everything is possible, just keep trying...

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
Extract the attached ZIP file and copy the .BAT file to the c:\ folder.  I guess that we didn't redirect this afterbuild.bat to look in the extract source folder...but no big deal.  Just copy the contents of this ZIP file to c:\ and you should be good.  You can ignore the exception, we have just never changed the DevExpress wrapper but this property still functions on the DevExpress side.
Attachments
afterbuild.zip (148 views, 246 bytes)
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi

Thanks again, I did what you indicate and again got the same error, I copy the StrataFrame source files from Programa Files to the Projets directory in My documents and all works.

Next I create a new proyect, and then add a SF DevEx Maintenance Form four make a test, and now I have this errors:

1) 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 

2) 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 

3) Warning 3 The variable 'GradientFormHeader1' is either undeclared or was never assigned. C:\Users\Juan Carlos\AppData\Local\Temporary Projects\StrataFrame-DevExpress\Form2.Designer.vb 71 0 

I review the references and I have references to DevExpress Data, utils XtraBars, xTraEditors and XtraGrid also to StrataFrame base, Inherited and UI too.

Apologyze my ignorance, wait for you advise.

Regards

Smile Everything is possible, just keep trying...

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
All the messages that you gave were warnings.  Did the assembly build and get copied to the GAC as well as the c:\program files\common files\microfour\strataframe folder (you may need to adjust the path for your language)?  If you then go and try to add the DevExpress wrapped control on a form does it work?  Be sure to get out of VS and then go back in before trying to use the assembly.
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi

The IDE show's that the solution was

I just follow the instructions, change references and rebuild. How do I check if the assmbly where copied to the folders?

Regards

Smile Everything is possible, just keep trying...

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
How do I check if the assmbly where copied to the folders?

It should have indicated that two files were copied in the Output window.  But you can just check the c:\program files\common files\microfour\strataframe folder to see if teh MicroFour Inherited UI.dll and MicroFour Inheited UI.xml files were updated.  You should have also see a message in the output window saying "Assembly successfully added to cache" or something along those lines.   or just try to use the DevExpress wrapper in your applicaiton...if you don't get any errors, you're good. Smile

Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi again.

I'm feeling very stupid. But not works.

Every time I rebuild the solution I only get that the the solution was reubuild sucessfully, noy otput window and not copy any files. If I check the Bin directory the files are there

I thin that the problem is where I have StrataFrame sources.

Originally I put the sources in C:\Program Files\MicroFour\StrataFrame Source Code the other folder there is C:\Program Files\MicroFour\StrataFrame but at any moment put anything there.

In that location the errors where the first one I commented.

Then I move to C:\Users\Juan Carlos\Documents\Visual Studio 2008\Projects\StrataFrame Source Code

I put the file you give me in same location.

Hope you can tell me where the sources must be build?

Regards

Smile Everything is possible, just keep trying...

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
.NET is designed to look in the GAC first.  So you need to have the assemblies in your GAC.  Second, we have a registry key that works in conjunction with .NET that points to the StrataFrame assemblies and the XML (documentation files) in the c:\program files\common files\microfour\strataframe folder.  Since your primary language is probably Spanish and your OS is Spanish, then the folder would accomodate your language.  These are the two places that you need to have the StrataFrame assemblies.  If you open up the AfterBuild.bat file, you can change the paths to point to the correct folder location which could be part of the problem.  By default this is set for English.

I'm feeling very stupid. But not works.

Don't feel this way!  We have all been there before, just keep working through the problem and this is a valuable learning experience for you because what you are learning is more than StrataFrame here.  You are learning how .NET interacts with the assemblies, GAC, and references.

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