简体   繁体   English

术语“livingdoc”未被识别为 cmdlet、function、脚本文件或可运行程序的名称。 检查名字的拼写,或者如果

[英]The term 'livingdoc' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if

I am trying to generate the livingdoc through my feature files, but I am having some error messages coming up.我正在尝试通过我的功能文件生成 livingdoc,但出现了一些错误消息。 I have already installed the SpecFlow.Plus.LivingDocPlugin via nuget package, and the next step was for me to run the command bellow in the command prompt:我已经通过 nuget package 安装了 SpecFlow.Plus.LivingDocPlugin,下一步是在命令提示符下运行以下命令:

livingdoc feature-folder C:\Users\UserId\Desktop\Projects\ProjectName\Projects\Project.Tests.Automation -t C:\Users\userId\Desktop\Projects\ProjectName\Projects\Project.Tests.Automation\bin\DEV\net6.0\TestExecution.json

ERROR MESSAGE: 


livingdoc: The term 'livingdoc' is not recognized as the name of a cmdlet, function, script file, or operable program. livingdoc:术语“livingdoc”未被识别为 cmdlet、function、脚本文件或可运行程序的名称。 Check the spelling of the name, or if a path was included, verify that the path is correct and try again.检查名称的拼写,或者如果包含路径,请验证路径是否正确并重试。 At line:1 char:1在行:1 字符:1

  • livingdoc feature-folder C:\Users\UserId\Desktop\Projects\ProjectName... livingdoc 功能文件夹 C:\Users\UserId\Desktop\Projects\ProjectName...
  •  + CategoryInfo: ObjectNotFound: (livingdoc:String) [], CommandNotFoundException + FullyQualifiedErrorId: CommandNotFoundException

Have you installed the SpecFlow.Plus.LivingDoc.CLI tool globally?您是否全局安装了SpecFlow.Plus.LivingDoc.CLI工具? This is also needed alongside the Nuget package you've installed.这与您安装的 Nuget package 一起也是必需的。

Try running the following command in a CMD window: do.net tool install --global SpecFlow.Plus.LivingDoc.CLI尝试在 CMD window 中运行以下命令: do.net tool install --global SpecFlow.Plus.LivingDoc.CLI

Then open a new CMD window and try to generate the living docs again.然后新开一个 CMD window 再次尝试生成living docs。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 该术语未被识别为 cmdlet、函数、脚本文件或可运行程序的名称 - the term is not recognized as the name of a cmdlet, function, script file, or operable program 术语“ Get-CsUser”不能识别为cmdlet,函数,脚本文件或可运行程序的名称 - The term 'Get-CsUser' is not recognized as the name of a cmdlet, function, script file, or operable program 术语“添加编号”不被视为cmdlet,函数,脚本文件或可运行程序的名称 - The term 'Add-Number' is not recognized as the name of a cmdlet, function, script file, or operable program 无法将“ Invoke-Sqlcmd”识别为cmdlet,函数,脚本文件或可运行程序的名称 - 'Invoke-Sqlcmd' is not recognized as the name of a cmdlet, function, script file, or operable program 术语“Add-AzureAccount”未被识别为cmdlet,函数,脚本文件的名称 - The term 'Add-AzureAccount' is not recognized as the name of a cmdlet, function, script file 术语''不被识别为cmdlet的名称, - The term ' ' is not recognized as the name of a cmdlet, 术语“ New-CsOnlineSession”不被视为cmdlet的名称 - The term 'New-CsOnlineSession' is not recognized as the name of a cmdlet 术语“Connect-AzureAD”未被识别为 cmdlet 的名称 - The term 'Connect-AzureAD' is not recognized as the name of a cmdlet 术语“add-migration”未被识别为 cmdlet 的名称 - The term 'add-migration' is not recognized as the name of a cmdlet 在C#函数中,术语'connect-QADService'不被识别为cmdlet的名称。 - The term 'connect-QADService' is not recognized as the name of a cmdlet… inside C# function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM