FastReport Designer - Getting Metadata file 'Microsoft.CSharp' could not be found from Expression

Getting the error "Error CS0006: Metadata file 'Microsoft.CSharp' could not be found" when setting any basic expression for a parameter in the FastReports Designer (.Net Trial version) then trying to user report.Prepare(); in an application.

Am I missing a plugin or just setting the expression wrong? I tested using the most basic [Sqrt(4)] as the expression and run into the failure. When it is blank, the error does not happen

Comments

  • Resolved this by downgrading the following packages to v2021.4.0:

    • FastReport.OpenSource
    • FastReport.OpenSource.Export.PdfSimple
    • FastReport.Data.MsSql

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.