视觉工作室中的硒RC

时间:2011-04-07 16:04:55

标签: visual-studio-2010 selenium nunit selenium-rc

我正试图在visual studio(2010)中设置一个selenium RC'项目'。我一直按照说明进行操作 - http://bonniepan02.wordpress.com/2010/06/24/how-to-use-the-selenium-rc-to-test-your-first-web-application-in-windows/ - 但是当我尝试在NUnit中打开项目时,我收到以下错误:

System.IO.FileNotFoundException : Could not load file or assembly 'nunit.framework, Version=2.2.0.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. The system cannot find the file specified.

For further information use the exception Details menu item.

这看起来很奇怪,因为nunit.framework被明确列为参考之一。任何想法??

1 个答案:

答案 0 :(得分:0)

关键语句是“或其中一个依赖项”。您可以使用.NET Reflector或类似的东西来查看nunit.framework要求您丢失的内容。但是,NUnit 2.0版本只需要mscorlib.dll 2.0.0.0和System.dll 2.0.0.0,我相信你都可以使用它们。