Error occurs while using saveAs method:
Could not load type 'DocumentFormat.OpenXml.Spreadsheet.SmartTags' from assembly 'DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Comments: ** Comment from web user: OleK **
Could not load type 'DocumentFormat.OpenXml.Spreadsheet.SmartTags' from assembly 'DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Comments: ** Comment from web user: OleK **
A WORKAROUND TO GET CLOSEDXML working for DocumentFormat.OpenXml SDK 2.5:
1. Download ClosedXML source code
2. Open ClosedXML source with Visual Studio
3. Browse to the References of "ClosedXML" project and remove the reference DocumentFormat.OpenXml
4. Use Nuget to install the latest Document.OpenXml 2.5 SDK as reference into the "ClosedXML" project
5. Open the file __XLWSContentManager.cs__ and remove the line 86
6. Compile the project
For some reason it does not work for that way for "ClosedXML_Net3.5" project.