If you are getting this error while building your projects that use Microsoft excel in your projects, in VSO , VSTS , Jenkins or any other build server that you are using, then the solution is to remove the reference to Microsoft.Office.Interop.Excel and instead add the dll by installing the nuget package Install-Package Microsoft.Office.Interop.Excel -Version 15.0.4795.1000
No comments:
Post a Comment