Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 找不到类型或命名空间名称。硒化镁_C#_Nuget_Build Error - Fatal编程技术网

C# 找不到类型或命名空间名称。硒化镁

C# 找不到类型或命名空间名称。硒化镁,c#,nuget,build-error,C#,Nuget,Build Error,我已经在VS12中创建了单元测试项目,并从NuGet安装了包“SeleniumBasicAuthWrapper”。 当我加上 using SeleniumBasicAuth; 并尝试构建项目,我收到以下错误消息: 错误2无法找到类型或命名空间名称“SeleniumBasicAuth” 发现是否缺少using指令或程序集引用 你的推荐信里有吗?NuGet应该已经在那里添加了它,但是请检查并确保。你确定你的软件包安装正确吗?@dhicock是的,它是。这很奇怪,因为当我从这个包创建对象时,ReSh

我已经在VS12中创建了单元测试项目,并从NuGet安装了包“SeleniumBasicAuthWrapper”。 当我加上

using SeleniumBasicAuth;
并尝试构建项目,我收到以下错误消息:

错误2无法找到类型或命名空间名称“SeleniumBasicAuth” 发现是否缺少using指令或程序集引用


你的推荐信里有吗?NuGet应该已经在那里添加了它,但是请检查并确保。你确定你的软件包安装正确吗?@dhicock是的,它是。这很奇怪,因为当我从这个包创建对象时,ReSharper建议自动添加引用。但当我构建项目时,它会错误地失败。@SonerGönül我不是。但我在两台不同的电脑上试过几次。在全新的项目中安装了它,同样。该软件包是否支持项目所在的.NET版本?