Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 2.51 KB

add-an-assembly-reference-to-a-report-ssrs.md

File metadata and controls

43 lines (32 loc) · 2.51 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic ms.custom helpviewer_keywords
Add an assembly reference to a paginated report
Learn how to provide an assembly reference to a report so that the report processor can resolve names in Report Builder.
kfollis
kfollis
09/25/2024
reporting-services
report-design
how-to
updatefrequency5
code [Reporting Services]
custom assemblies [Reporting Services], referencing
custom code [Reporting Services]
adding assembly references
assemblies [Reporting Services], references

Add an assembly reference to a paginated report (Report Builder)

[!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.

Add an assembly reference to a report

  1. In Design view, right-click the design surface outside the border of the report and select Report Properties.

  2. Select References.

  3. In Add or remove assemblies, select Add, and then choose the ellipsis button to browse to the assembly.

  4. 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.

  5. Select OK.

Related content