Could not load file or assembly 'Microsoft.Office.Interop.Excel'

笑着哭i 提交于 2019-12-06 09:03:13

You might want to check the reference in the .csproj file to make sure that the DLL is being referenced from the bin folder rather than from somewhere else.

Check the Path statement on the computer that fails to load the assembly, I will bet that it is different than on the other computers.

This error is telling you that the DLL is not in the path.

For details on how Windows searches for DLLs see: Dynamic-Link Library Search Order

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!