C# 缺少指令或程序集引用

C# 缺少指令或程序集引用,c#,C#,当我在visual studio 2015版中尝试上述代码时,会显示: 找不到类型或命名空间名称“PdfPageBase”(是 是否缺少using指令或程序集引用?) VisualStudio在项目引用中找不到所需的程序集时会这样说。添加对项目的引用项目引用中是否有spire.pdf.dll? PdfPageBase page = document.Pages.Add(); PdfGraphics graphics = page.Graphics;

当我在visual studio 2015版中尝试上述代码时,会显示:

找不到类型或命名空间名称“PdfPageBase”(是 是否缺少using指令或程序集引用?)


VisualStudio在项目引用中找不到所需的程序集时会这样说。添加对项目的引用

项目引用中是否有spire.pdf.dll?
 PdfPageBase page = document.Pages.Add();             
 PdfGraphics graphics = page.Graphics;         //Creates a certificate instance from PFX file with private key.             
 PdfCertificate pdfCert = new PdfCertificate(@"PDF.pfx", "syncfusion");