XenoCode Postbuild

Thread is closed for posting
3 posts, 0 answers
  1. Soul
    Soul avatar
    5 posts
    Member since:
    Apr 2009

    Posted 22 Sep 2009 Link to this post

    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?

  2. Damyan Bogoev
    Damyan Bogoev avatar
    581 posts

    Posted 24 Sep 2009 Link to this post

    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.
  3. Soul
    Soul avatar
    5 posts
    Member since:
    Apr 2009

    Posted 24 Sep 2009 Link to this post

    Seems to be working -

    You guys are no-less than brilliant :-) Brilliant stuff.
Back to Top