我已经使用NuGet控制台安装了SpecFlow,它说它已正确安装:
Install-Package SpecFlow.NUnit
Attempting to resolve dependency 'SpecFlow'.
Attempting to resolve dependency 'NUnit (≥ 2.6)'.
'SpecFlow.NUnit 1.1.1' already installed.
Install-Package SpecFlow
'SpecFlow 1.9.0' already installed.
但是当我尝试构建时,我会收到错误:
error CS0246: The type or namespace name 'TechTalk' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)
另外,我没有获得用于创建步骤定义的上下文菜单。不过,SpecFlow功能可用作项目类型,并且语法高亮功能适用于小黄瓜文件。
那么我错过了什么?