few months ago I can debug my console application project that I created in VsCode however after few months it throws this error: I’m using Microsoft.Office.Interop.Excel library which I reference through Nuget Package Manager GUI
“unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly ‘office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’. The system cannot find the file specified.
File name: ‘office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’
I’ve found a related post from this issue here somehow I’m confused with the solution. tried couple of things i.e Office Repair, use different version of excel interop