I am getting this message :Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
but when i tried to add reference for documentformat.openxml,an error occur with message that closedxml is already added in the solution which is higher version of it. SO not able to use this method. HELP ME. Thanks