Hi, i added from nuget Aspose.Words (23.2.0). my project is wcf service net 6.0.
then added this code:
public void Pdf2Doc(string pathFileDoc)
{
Document pdf = new Document(pathFileDoc);
pdf.Save(Path.ChangeExtension(pathFileDoc, "docx"));
}
when run the application get this error:
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.CodeDom, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
what can i do to fix it?
thanks.