Different Interop references on two different computers doesn't work

前端 未结 3 1869
终归单人心
终归单人心 2020-12-31 10:58

When I add a reference to Microsoft.Office.Interop.Excel on my computer, Visual Studio adds this to the project file:



        
3条回答
  •  情歌与酒
    2020-12-31 11:38

    I've used Excel automation way more than I would like to admitt, and I have never referenced Interop.Excel.dll. I've always referenced the former. Why is he referencing that, and what errors does he get?

    Are you guys referencing the same version of excel (5.0 verses 11.0)? Do you guys have the exact same version of office, service pakcs and all? This could be the differance.

提交回复
热议问题