I am attempting to convert a docx file to a pdf file using Aspose.Words 18.2 with dot net standard. Here is my code to convert to pdf
public static void Convert(Stream input, Stream output)
{
var doc = new Aspose.Words.Document(input);
doc.AcceptAllRevisions();
doc.Save(output, Aspose.Words.SaveFormat.Pdf);
}
Its failing on the var doc line with a FileNotFoundException. Its a stream not a directory.