report designer control issue in vs2010

weiwei
edited 5:07PM in FastReport .NET
The problem is strange. When I reference the fastreport.dll from the fastreport installation folder within windows programfiles, everything works fine. However, if I grab the source code and compile it then reference either the project or the compiled dll, the report designer control stops working. Can somebody help me with issue please??


When referencing fastreport.dll from installed fastreport folder, its working fine.
noerror.jpg

When referencing from fastreport.dll from compiled dll, my own project compiles fine, but show error in designer page
error1.jpg

When referencing from fastreport.dll from compiled dll, if i try to drag a designer control to the form, it throws up this error,
error2.jpg

please help me out here.
regards,
steven.

Comments

  • weiwei
    edited 5:07PM
    just an addition, I did NOT change anything in the source code, just compiled it and tried to use the compiled version.
  • edited 5:07PM
    Hello,

    The problem is that the component's designer in the FastReport.VSDesign.dll can work with original dll only. When you compile FastReport.dll from the source code, you use different assembly key file (.snk), or skip the assembly signing. This assembly is not recognized by the design-time code in FastReport.VSDesign.dll.
  • weiwei
    edited 5:07PM
    AlexTZ wrote: »
    Hello,

    The problem is that the component's designer in the FastReport.VSDesign.dll can work with original dll only. When you compile FastReport.dll from the source code, you use different assembly key file (.snk), or skip the assembly signing. This assembly is not recognized by the design-time code in FastReport.VSDesign.dll.

    Thx for the reply Alex, does this mean if I customized fast report and compiled my own version, I will lose the ability to drag and drop designer control from the tool box?
  • edited 5:07PM
    This should work with the original FastReport.dll. If you have replaced the dll (and registered own dll in the GAC), the design-time editor will not work.

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.