Hi, just installed FreeSpire.pdf and my code:
using Spire.Pdf;
namespace Oursystem.Tests.Reports
{
public class PubPDF
{
static string filename = "myreport.pdf";
string filepath = "C:\\documents\\myreport.pdf";
PdfDocument doc= new PdfDocument();
doc.LoadFromFile(filepath);
Issue: I'm getting compile error:
Severity Code Description Project File Line Suppression State
Error IDE1007 The name 'doc.LoadFromFile' does not exist in the current context. Tests C:\Tests\Reports\PubPDF.cs 14 Active
Error IDE1007 The name 'doc' does not exist in the current context. Tests C:\Tests\Reports\PubPDF.cs 14 Active
I uninstall/reinstall, and update-install from nuget manager, but can't call any of methods from PdfDocument doc
Anyone had this kind of issue, please help us. Thank you