I am migrating Window-Legacy project to Windows. When converted the project to Windows and running it I am getting below error when reading the excel file:
Read Range Workbook settings: Could not load file or assembly ‘DocumentFormat.OpenXml, Version=2.7.2.0, Culture=neutral, PublicKeyToken=************’. The system cannot find the file specified.
I have tried below things but still the same error persists:
@Krishna_Raj Tried to install DocumentFormat.OpenXml but looks like no suck package available
Have tried updating all dependencies to latest
Basis compatibility, 2.7.2 version is not available in Windows project
Restart Studio already tried
tried removing .local folder
It looks like there might be some proxy or something blocking the package downloading or working correctly but not exactly sure if this is the cause.
I tried doing this migration in some other server and it was working.
then I copied the same working/converted code to the original server and again started getting this error. How should I tackle or in which way I can handle/resolve this issue?