简体   繁体   English

无法完成测试:fitnesse.slim.SlimError: Error SLiM server dead before Header Message could be read

[英]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.

相关问题 Fitnesse Slim与C#获得苗条协议版本错误 - Fitnesse Slim with C# getting slim protocol version error 如何使用FitNesse和Slim将对象传递给方法 - How to pass an object to a Method using FitNesse and Slim 如何使用C#Fitnesse + Slim保持Fitnesse测试中的状态 - How to maintain state in Fitnesse tests with c# Fitnesse+Slim 无法完成操作错误 - Could not complete the action error 在读取消息之前,用于TcpClient的缓冲区被覆盖 - Buffer used for TcpClient gets overwritten before message could be read 如何解决错误:无法解析从服务器收到的消息 - How to fix error: The message received from the server could not be parsed 无法读取服务器中的Excel文件 - Could not read the excel file in server 错误:StreamJsonRpc.ConnectionLostException:与远程方的 JSON-RPC 连接在请求完成之前丢失 - Error :StreamJsonRpc.ConnectionLostException: The JSON-RPC connection with the remote party was lost before the request could complete 解析器错误消息:无法加载程序集'App_Web__XXXXX'。 在访问页面之前,请确保已对其进行编译 - Parser Error Message: Could not load the assembly 'App_Web__XXXXX'. Make sure that it is compiled before accessing the page 单元测试错误,无法加载文件或程序集 - Unit testing error, could not load file or assembly
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM