Saturday, October 20, 2012

prep Interop.SHDocVw for WatiN

The cure for this error which you might get when you try to run a WatiN test...

Could not load file or assembly 'Interop.SHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=db7cfd3acb5ad44e' or one of its dependencies. The system cannot find the file specified.

 
 

...is to click on your Interop.SHDocVw reference in the Solution Explorer and set Embed Interop Types to False at the Properties pane.

No comments:

Post a Comment