Using crystal reports in a dll to load a report, refresh it's data from the db, then save it as a pdf.
CrystalDecisions.CrystalReports.Engine.ReportClass rpt = new CrystalDecisions.CrystalReports.Engine.ReportClass();
rpt.Load(rptPath);
rpt.Refresh();
rpt.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, outFile);
Getting this exception: "Unable to find the report in the manifest resources. Please build the project, and try again."
I don't want to have to put in the project. I want to be able to open a rpt that came from another instance of Crystal. Any ideas how to work around?