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 6:04AM
    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 6:04AM
    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