WatiN Error Could not Load Assembly

后端 未结 3 897
傲寒
傲寒 2020-12-04 23:40

I am getting the following WatiN error:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl y \'Interop.SHDocVw, Versi

3条回答
  •  时光取名叫无心
    2020-12-04 23:49

    If you've installed and referenced WatiN using NuGet in VS2010, you should already have the correct references, so they don't need to be removed and re-added. But you will still need to change the "Embed Interop Types" setting to False on the Interop.SHDocVw reference.

提交回复
热议问题