I have just started to receive the following error when running my WatIn tests.
System.IO.FileNotFoundException : 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.
I have searched the web and tried the following solutions, none of which work.
Can anyone assist?
Have you tried this:
Go to solution explorer, click on the interop dll, in properties change "Embed Interop types" to FALSE.
Best to use NuGet addon for .net studio and then add reference to wattin via "Add Library Package Reference".
Setting the Interop.SHDocVw
, Microsoft.mshtml dlls' Embed Interop Types
property to False
;
Off course Visual Studio would give you warnings on how to ammend.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With