Hi,
I am using Spire.Officefor.NETStandard 7.2.3 with Dotnet 6.03 on Windows and have noticed quite a few regressions. I am putting them in separate topics to help better track them.
var currentCell = sheet.Rows[startRowPosition].CellList[startCellPosition];
produces (sometimes - not all the time using the exact same data each time).
An unhandled exception of type 'System.AccessViolationException' occurred
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The hard part about this exception is that it cannot be recovered from even using AccessViolationException which is painful for a web application.
The workaround is to instead use:
var currentCell = sheet.Range[startRowPosition + 1, startCellPosition + 1, startRowPosition + 1, startCellPosition + 1];
Cheers,
Alex