[英]Could not complete testing: fitnesse.slim.SlimError: Error SLiM server died before Header Message could be read
I am trying to integrate Fitness with Visual Studio 2022. Have .NET 6.0 installed.我正在尝试将 Fitness 与 Visual Studio 2022 集成。安装了 .NET 6.0。 Following the instructions given in this link .
按照此链接中给出的说明进行操作。 However, every time I run the Test it throws the error
但是,每次我运行测试它都会抛出错误
Could not complete testing: fitnesse.slim.SlimError: Error SLiM server died before Header Message could be read.
无法完成测试:fitnesse.slim.SlimError:错误 SLiM 服务器在可以读取标头消息之前死亡。 Unable to start test system 'slim': fitnesse.slim.SlimError: Error SLiM server died before Header Message could be read.
无法启动测试系统“slim”:fitnesse.slim.SlimError:错误 SLiM 服务器在可以读取标头消息之前死亡。
Looks like I am missing something very basic about Slim.看起来我错过了一些关于 Slim 的非常基本的东西。 Please let me know the resolution for this.
请让我知道解决方案。
I was able to resolve this.我能够解决这个问题。 The Target Framework RunnerW was pointing to was incorrect.
RunnerW 指向的目标框架不正确。 It was pointing to Dotnet4.8.
它指向Dotnet4.8。 I modified this.
我修改了这个。 But, and included into the fitsharp solution.
但是,并包含在 fitsharp 解决方案中。 Then, building solution from Visual Studio kept failing.
然后,从 Visual Studio 构建解决方案一直失败。 Identified that this needed updating the Nuget package.
确定这需要更新 Nuget 包。 Updating kept skipping every time stating the package was already installed.
每次说明软件包已安装时,更新都会跳过。 Was unable to build because of these reasons.
由于这些原因无法建造。 Was finally able to have breakthrough when I built the solution from cli.
当我从 cli 构建解决方案时,终于能够取得突破。 Running the Test after this was successful.
在此之后运行测试成功。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.