CHAPTER 7 USING CUSTOM .NET CODE WITH REPORTS
- Select Debug as the Active Solution Configuration option. Click Close to
finalize this option choice. - Right-click the project containing your reports from the solution manager and
select Set as StartUp Project to make sure this project runs first in your
solution when you start to debug. - Right-click the project containing your reports from the solution explorer
again, and select Project Dependencies. - In the Project Dependencies dialog box, select the Employee project as the
dependent project, as shown in Figure 7-14. This will tell Visual Studio that
your report depends on the custom assembly you have written.
Figure 7-14. ProJect Dependencies dialog box
- Click OK to save the changes, and close the Project Dependencies dialog box.
- Right-click the Reports project again, and select Properties.
- Select StartItem, and set it to the report you want to debug. In this case, select
the report we have set up to use the custom assembly. The StartItem option
tells Visual Studio specifically which report to run when you run with
debugging. Click OK to finalize this choice. - In the Solution Explorer, select the Employee custom assembly project.
- Right-click this project and select Properties.