This is a migrated thread and some comments may be shown as answers.

XenoCode Postbuild

2 Answers 193 Views
Integration with other products
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Soul
Top achievements
Rank 1
Soul asked on 22 Sep 2009, 05:52 PM
Hey Guys,

I've been testing out PostBuild from Xenocode, to pack my solution into a tidy .EXE

I made a sample project and all i'm doing is adding OpenAccess and creating a scope object that would otherwise work fine in the normal compilation.

The Postbuild .EXE however crashes -

My question is, are there any specific instructions on how to add the openaccess stuff to Postbuild? Are there limitations you're aware of?

thanks!

2 Answers, 1 is accepted

Sort by
0
Damyan Bogoev
Telerik team
answered on 24 Sep 2009, 12:19 PM
Hello Soul,

When we tried to pack a Telerik OpenAccess ORM enhanced solution with Xenocode PostBuild into an executable file, it crashed with the following error message: "The 'openaccess' section cannot be found in the application's configuration file." (while debug  it) or a  message like "path\App.exe is not a valid Win32 application." The problems were caused by missing files  required by Telerik OpenAccess ORM (like for example the application configuration files).

To make sure that the application will be running after processed with Xenocode Build do the following:
1.    Start Xenocode PostBuild instance from Start menu (when started from inside Visual Studio, it runs incorrectly, as it requires few more settings that can be done through the external client only).
2.    Go to the Application tab and add your App.exe, Telerik.OpenAccess dlls, then click Scan Dependencies button and add missing dependencies.
3.    When you are done with the dependencies go to the Virtualize tab and choose Filesystem. From the treeview select the Application directory. Then add the following files: App.exe, App.exe.config (usually this is omitted in the VS run of the product), where App is the name of your application.
4.    At the end start the executable produced by Xenocode and run your new packed executable file.
 
I hope that works for you!


All the best,
Damyan Bogoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Soul
Top achievements
Rank 1
answered on 24 Sep 2009, 01:05 PM
Seems to be working -

You guys are no-less than brilliant :-) Brilliant stuff.
Tags
Integration with other products
Asked by
Soul
Top achievements
Rank 1
Answers by
Damyan Bogoev
Telerik team
Soul
Top achievements
Rank 1
Share this question
or