| title | Add an assembly reference to a paginated report | |||||
|---|---|---|---|---|---|---|
| description | Learn how to provide an assembly reference to a report so that the report processor can resolve names in Report Builder. | |||||
| ms.date | 09/25/2024 | |||||
| ms.service | reporting-services | |||||
| ms.subservice | report-design | |||||
| ms.topic | how-to | |||||
| ms.custom |
|
|||||
| helpviewer_keywords |
|
[!INCLUDEssrs-appliesto] [!INCLUDE ssrs-appliesto-ssrs-rb] [!INCLUDE ssrs-appliesto-pbi-rb] [!INCLUDE ssrb-applies-to-ssdt-yes]
You can embed custom code that contains references to [!INCLUDEmsCoName] [!INCLUDEdnprdnshort] classes that aren't in xref:System.Math or xref:System.Convert. When you embed the code, you must provide an assembly reference to the report so that the report processor can resolve the names. For more information, see Add code to a report.
-
In Design view, right-click the design surface outside the border of the report and select Report Properties.
-
Select References.
-
In Add or remove assemblies, select Add, and then choose the ellipsis button to browse to the assembly.
-
In Add or remove classes, select Add, and then enter name of the class and provide an instance name to use within the report.
[!NOTE]
Specify a class and instance name only for instance-based members. Don't specify static members in the Classes list. For more information, see Custom code and assembly references in expressions in Report Designer. -
Select OK.