To create a Report Driver,
-
In the Solution Explorer, right-click on the project node and click Add > New Item.
-
On the Add New Item dialog box, navigate to Visual C# Items > Code and select Class template.
-
Type a class name in the Name box and click Add.
The new class opens and is available in the Solution Explorer.
-
In the class that you created, add a default constructor and inherit from the BaseReportGeneration class as shown in the example below:
-
Add logic to the overridden methods to perform any additional steps.
-
Place the compiled dll in the installation path ...//SmartPlant Foundation 2018 Server Files\Web_Sites\Server_Name\Bin.