Hello,
While setting the breakpoint inside of the code below and doing the step over the debugger fails with the following message
“The debugger’s worker process (msvsmon.exe) unexpectedly exited. Debugging will be aborted.”
static void Main(string[] args)
{
InitLicense();
string htmlFilePath = string.Format($"c:\\Temp\\aspose-dotnet\\enrichedDoc.html");
string pdfFilePath = string.Format($"c:\\Temp\\springer.pdf");
using (Stream stream = File.OpenRead(pdfFilePath))
{
using (Document doc = new Document(stream))
{
HtmlSaveOptions htmlOptions = new HtmlSaveOptions
{
FixedLayout = true,
FontSavingMode = HtmlSaveOptions.FontSavingModes.SaveInAllFormats,
RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground
};
doc.Save(htmlFilePath, htmlOptions);
}
}
Console.WriteLine("Hello World!");
}
In addition I see an error from visual studio remote debugger in the Event Viewer
“The description for Event ID 1002 from source Visual Studio Remote Debugger cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.”
At the same time the that code runs fine on .NET Framework 4.7.2. Also the program completes its execution gracefully .net core if I don’t set the breakpoint.
Could you please advise?
The issue can be reproduced on more than one machine.