WatiN Error: Unable to Download

I am working on a new test project with watiN, but always get this error,

Failed to load file or assembly "WatiN.Core, Version = 2.0.3.913, Culture = neutral, PublicKeyToken = db7cfd3acb5ad44e" or one of its dependencies. An attempt was made to download a program with the wrong format.

Did I miss something? thanks.

+3
source share
4 answers

The assembly is apparently very named, so you can install it in the GAC (open C: \ windows \ assembly and drag the dll there). You may need to download it from the Internet if you cannot find it on your computer.

, 64- ? , watin , 32- ( Visual Studio " " ).

+8

WatiN 64 , x64 . 64- WatiN.Core.It .

+1

WatiN? , , WatiN /bin?

0

- / Watin 32-, 32- 64- , 32 .

:

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\CorFlags.exe" /32BIT+ myWatinProg.exe

corFlags Windows SDK 64- .

(taken from http://sourceforge.net/projects/watintestrecord/forums/forum/682552/topic/3229029 )

0
source

Source: https://habr.com/ru/post/1709216/


All Articles