Error using script in visualbasic.NET
Hi everyone,
i've downloaded last release of FastReport Community but when i can only use script in C#, if i try to switch in VisualBasic.NET and run the preview i got the attached error. If i switch the Script to C#, with no other change, the report run correctly.
The report i'm using for this test has no element, just one text field to display some words and no connection
For non italians: The property "ReferencedAssemblies" can't contain Null or empty string. Parameter's name: option
This discussion has been closed.
Comments
Hello!
The error ‘The property ‘ReferencedAssemblies’ cannot contain Null or an empty string’ when ScriptLanguage = Language.Vb occurred in earlier builds when there were empty elements in Report.ReferencedAssemblies, but this has now been fixed in the latest versions.
We have tested a minimal report with `ScriptLanguage = Language.Vb` and a script handler on both FastReport.OpenSource 2027.1.0 and FastReport.Core 2026.2.8; both packages successfully compile and generate the VB.NET script without errors.
What to do:
Update the FastReport.OpenSource / FastReport.Net packages to the latest versions (2027.1.0 / 2026.2.8).