Compiling FastReport into project.

Hello,
I'd like my app to be a single EXE, I've got FastReport.Net Professional, and so have the source code, can anyone advise on how to build fastreport into the main EXE of my project? I could just add all the source files to my project, but that seems messy, is there a better way that will make updating to the newest version of fastreport.net simpler?

Many thanks,

- Anthony

Comments

  • edited 1:31PM
    Hello,

    Sorry, there is no way to compile FR as a single exe.
  • jabijabi Czech Republic
    edited September 2009
    It's false. Compiling to single EXE file is quite simple. You need modify class ResourceLoader to load resources from correct assembly. And after compilation project to many files (one *.exe + many *.dll) use ILMerge. This process can be automatized. I used this method and I haven't any problem.

    The best would be if ResourceLoader load resources from Assembly that contains type (class) Report (or other FR class) for easy FR update. Now resources are loaded from assembly "FastReport" (many string contants in code).

    JaBi
  • edited 1:31PM
    jabi wrote: »
    It's false. Compiling to single EXE file is quite simple. You need modify class ResourceLoader to load resources from correct assembly. And after compilation project to many files (one *.exe + many *.dll) use ILMerge. This process can be automatized. I used this method and I haven't any problem.

    The best would be if ResourceLoader load resources from Assembly that contains type (class) Report (or other FR class) for easy FR update. Now resources are loaded from assembly "FastReport" (many string contants in code).

    JaBi

    Hello jabi,

    i know that your post is really old. But i want to give it a try... [img]style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> Can you show me how u did it? Thanks in advance, doc[/img]

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.