When initializing a new with:
var book = new Workbook();
I get this error: "The type initializer for 'sprឳ' threw an exception."
The project where this code is residing is part of a bigger solution and has not been touched lately, except with nuget updates.
Since the functionality using the code is not being regularly used it is difficult to pinpoint which nuget update that caused this so i need some help here.
The nugets the project is using are:
<PackageReference Include="AutoMapper" Version="10.0.0" />
<PackageReference Include="EPPlus" Version="4.5.3.2" />
<PackageReference Include="MailKit" Version="2.8.0" />
<PackageReference Include="MimeKit" Version="2.9.1" />
<PackageReference Include="Spire.XLS" Version="9.5.0" />
The entire exception StackTrace:
" at sprឳ..ctor()\r\n at Spire.Xls.Workbook..ctor()\r\n at Strong.Aftersales.Common.Business.Managers.Domain.ExcelBulkImport.ExcelFileHandlerDecAt.ValidateDecAtFile(IFormFile file) in C:\\Development\\Strong\\Strong.Aftersales.Common\\Strong.Aftersales.Common.Business\\Managers\\Domain\\ExcelBulkImport\\ExcelFileHandlerDecAt.cs:line 110\r\n at Strong.Aftersales.Common.Business.Managers.ExcelBulkImportServiceCaseManager.<StartDecImport>d__13.MoveNext() in C:\\Development\\Strong\\Strong.Aftersales.Common\\Strong.Aftersales.Common.Business\\Managers\\ExcelBulkImportServiceCaseManager.cs:line 114\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n at Strong.Aftersales.Web.api.FileUploadsController.<DecAt>d__4.MoveNext() in C:\\Development\\Strong\\Strong.Aftersales\\Strong.Aftersales.Web\\api\\FileUploadsController.cs:line 81"
Regards
Geirr