Problem with DevExpress MaintenanceFormBarManager and Controls After Upgrade


Problem with DevExpress MaintenanceFormBarManager and Controls After...
Author
Message
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Jeff,

Glad it worked out for you.

Enjoy!!!!

Edhy Rijo

Jeff Pagley
Jeff Pagley
StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Hi Edhy,

That worked.

Thank You!

Jeff
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Jeff,
Make a copy of the SF AfterBuild.bat and use mine which has been tested for .Net 4.x

Edhy Rijo

Jeff Pagley
Jeff Pagley
StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Hi Edhy,

Didn't notice it, but I have the AfterBuild.bat in place.  It is the one provided by Strataframe.  As far as I can tell, I have done everything correctly, but I am still having the same problems.  I have done this several times over the years without any problems.  Any other suggestions?

Thanks,

Jeff
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Andrew,

Nice to see you back too!!!

About afterbuild.bat, glad to be able to help and hope help with Jeff's issue.

Edhy Rijo

Andrew Harper
Andrew Harper
StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)
Group: StrataFrame Users
Posts: 87, Visits: 3.3K
Hi Edhy,

Nice to see back - I'd forgotten about afterbuild.bat, thanks for the reminder,

Best regards,

Andy
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Jeff,

Yes you have to copy to the GAC.  I use a batch file provided by SF with modifications to handle .Net 4.0 which is called "AfterBuild.bat", this batch file is executed in the Post build event of the project with the following code:
"$(SolutionDir)AfterBuild.bat" "$(TargetPath)" "$(TargetDir)$(ProjectName).xml"



Create the AfterBuild.bat file and place it in this folder, if you already have a copy of this batch file there, make a backup copy.
C:\Program Files (x86)\MicroFour\StrataFrame Source Code


Here is the content of my AfterBuild.bat:


"%ProgramFiles(x86)%\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\gacutil.exe" /i %1 /f
rem "%ProgramFiles(x86)%\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\gacutil.exe" /i %1 /f

copy /Y %1 "%CommonProgramFiles(x86)%\MicroFour\StrataFrame"
copy /Y %2 "%CommonProgramFiles(x86)%\MicroFour\StrataFrame"


With this batch file, when I update DevExpress, just need to do the following:
  1. Run DevExpress project converter to fix references to the new libraries.
  2. Rebuild the "Strataframe Inherited UI DLL"
  3. In the rebuild process the batch file will copy the file to the \Common Program Files and also register in the GAC.
Please let me know if that works for you.

Edhy Rijo

Jeff Pagley
Jeff Pagley
StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Yes I have changed the target framework to 4.0 and ran the DevExpress Project converter.  The project converter will not run unless the target framework is 4.0 or higher.  My other thought was do I need to place the ""Strataframe Inherited UI DLL" in the GAC?
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Jeff,

Andy is right, you have to change the target framework of your application and the "Strataframe Inherited UI DLL" to .net 4.0.  I currently use 4.5.

P.S.
Be aware of DevExpress 15.1 to be release soon, probably this week.  They have a full week of webinars starting today to show up the what is new in 15.1, highly recommended.


Edhy Rijo

Andrew Harper
Andrew Harper
StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)StrataFrame User (280 reputation)
Group: StrataFrame Users
Posts: 87, Visits: 3.3K
Hi Jeff,

Did you change the target framework of your application to .net 4.0 under the advanced compile options and have you run the Project Converter from the DevExpress Menu in Visual Studio on your application project?

Best regards,

Andy
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