report designer control issue in vs2010
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.
When referencing from fastreport.dll from compiled dll, my own project compiles fine, but show error in designer page
When referencing from fastreport.dll from compiled dll, if i try to drag a designer control to the form, it throws up this error,
please help me out here.
regards,
steven.
When referencing fastreport.dll from installed fastreport folder, its working fine.
When referencing from fastreport.dll from compiled dll, my own project compiles fine, but show error in designer page
When referencing from fastreport.dll from compiled dll, if i try to drag a designer control to the form, it throws up this error,
please help me out here.
regards,
steven.
Comments
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?