1. Describe the bug
When I copy tablix with some expressions in RDLC, then they get the full assembly path added in front of the function name
2. To Reproduce
Steps to reproduce the behavior:
- Copy the Vat Clause Tablix of the Sales Invoice Header
The expression
<FilterExpression>=Cstr(Len(Fields!Code_VATClauseLine.Value))</FilterExpression>
is converted to
<FilterExpression>=Microsoft.ReportingServices.RdlObjectModel.ExpressionParser.VBFunctions.Cstr(Len(Fields!Code_VATClauseLine.Value))</FilterExpression>
3. Expected behavior
It shouldn't be a problem if the full path is used or at least we should get some better error.
4. Actual behavior
Currently the following error is displayed

Rendering output for the report failed and the following error occurred: An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC40000] 'RequestMinimum' is obsolete: 'Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.'.’.
5. Versions:
- Business Central: Latest BC Version (BC 22.1=
- List of Visual Studio Code extensions that you have installed: