Wednesday, November 2, 2022

Error The "ResolveComReference" task returned false but did not log an error. - asp.net c# -Microsoft.Office.Interop.Excel.dll

 >Open Visual studio

> Click on Tools

>Click on 'Nuget package manager'

>Click on 'package manager console'

>Run the below command

Install-Package Microsoft.Office.Interop.Excel

reference:- https://stackoverflow.com/questions/10477977/what-reference-do-i-need-to-use-microsoft-office-interop-excel-in-net

Also we have to add Microsoft Office 12.0 Object Library from Com in 'Add reference'

reference:- https://stackoverflow.com/questions/5932794/microsoft-office-core-reference-missing

Also we can download dll(Microsoft.Office.Interop.Excel) file from below link

https://drive.google.com/file/d/15e7KAfD8T6tXShKQZhfpdaQfh_5osU40/view?usp=share_link


No comments:

Post a Comment