Ошибка WatiN не Могла Загрузить блок

Я полагаю, что большинство IDE Java уже имеет его - я, конечно, представление ReSharper как инструмент, который приносит Visual Studio до уровня Eclipse:)

Вы имеете какие-либо определенные функции R# в виду?

73
задан Raktim Biswas 1 December 2016 в 13:31
поделиться

1 ответ

UPDATE: This answer was written before Nuget was released and applies only if you are NOT using Nuget to manage your dependencies. If you are using Nuget see the answer by @Nick Jones

I just had this issue today. You need to download the latest version of WatiN (I'm using 2.0.10.928) and reference the signed Interop.SHDocVw.dll that is provided by WatiN.

Try the follwoing:

  1. Remove all other References to Interop.SHDocVw.dll
  2. Right Click your solution and select 'Clean Solution'
  3. Reference the Interop.SHDocVw.dll that is provided by WatiN
  4. Build your solution.

Hope this helps.

UPDATE: Nick Jones is correct. This should not be an issue if you are using NuGet....but I was also getting this message when using MvcContrib.Mvc3.TestHelper-ci. At first glance it seems like the '-ci' packages is the way to go but I decided to use the MvcContrib.WatiN package for two reasons.

1) I don't get the "Could not load file or assembly" error message

2) The MvcContrib.Mvc3.TestHelper-ci is using an old version of WatiN.Core.dll (1.3.0.4000) where as the MvcContrib.WatiN package is using a newer version (2.0.0.99)

49
ответ дан 24 November 2019 в 12:09
поделиться
Другие вопросы по тегам:

Похожие вопросы: