Could not load file or assembly 'or one of its dependencies. The system cannot find the file specified

穿精又带淫゛_ 提交于 2019-12-13 05:13:45

问题


Hope someone could help me with this.

I'm referencing a dll proxy "MonitorProxy" in a webservice project which is hosted on a windows service host. When I debug the service host I receive this exception: Could not load file or assembly 'MonitorProxy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Although I'm sure that the MonitorProxy.dll is correcltly located and that the webservice reference refers to its correct location.

Any ideas??

Thank you so much in advance Sam


回答1:


You can use Assembly Binding Log Viewer to view the assembly loading log and check where the web service is expecting the required dll.



来源:https://stackoverflow.com/questions/5004514/could-not-load-file-or-assembly-or-one-of-its-dependencies-the-system-cannot-f

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