I`m using Excel with c# and get an error in this line (using Excel = Microsoft.Office.Interop.Excel;)
Excel._Worksheet xlWorksheet = xlWorkbook.Sheets[1];
"Missing compiler required member 'microsoft.csharp.runtimebinder.binder.convert'"
I tried to add reference for Microsoft.CSharp dll. but couldn`t find it in the list. In csproj file it looks like i already have it.
Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"
Target Framework - .Net Framework 4.6.1
Can somebody, please, help to understand what is wrong ?