C# 添加对ThoughtWorks.Selenium.core的引用后,无法使用ThoughtWorks命名空间

C# 添加对ThoughtWorks.Selenium.core的引用后,无法使用ThoughtWorks命名空间,c#,selenium,sharpdevelop,C#,Selenium,Sharpdevelop,我已将ThoughtWorks.Selenium.core.dll的引用添加到我的项目中,但项目在运行时给了我一个错误 using ThoughtWorks.Selenium.core; 错误:找不到类型或命名空间名称“ThoughtWorks” 目标框架:.NET Framework 4.0(不是.NET Framework 4.0客户端配置文件) 我使用的是Sharp开发工具,而不是Visual Studio 我做错了什么?当程序集名称为ThoughtWorks.Selenium.core

我已将ThoughtWorks.Selenium.core.dll的引用添加到我的项目中,但项目在运行时给了我一个错误

using ThoughtWorks.Selenium.core;
错误:找不到类型或命名空间名称“ThoughtWorks”

目标框架:.NET Framework 4.0(不是.NET Framework 4.0客户端配置文件) 我使用的是Sharp开发工具,而不是Visual Studio


我做错了什么?

当程序集名称为ThoughtWorks.Selenium.core时,程序集本身没有任何使用该名称的名称空间。所有类型都位于Selenium命名空间中。因此,您应该将using语句更改为:

using Selenium;

我从

下载了C#客户端驱动程序,ThoughtWorks.Selenium.core的目标是什么?你确定它不是ThoughtWorks.Selenium.*C**ore???它是ThoughtWorks.Selenium.Core