安装SpecFlow.Allure但在服务器上它不起作用

问题描述 投票:0回答:1

我有一个问题,SpecFlow Allure在本地工作,但在服务器上没有。我有Windows 2008服务器和我使用.tpl文件gradle。当我向我的tpl添加与app.config`相同的设置时

 <plugins>    
    <add name="Allure" type="Runtime"/></plugins><stepAssemblies>
      <stepAssembly assembly="Allure.SpecFlowPlugin"/>
    </stepAssemblies>`

但我的服务器显示此错误:

System.IO.FileNotFoundException : Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.

Ofc,如果我从.tpl文件中删除有关Allure的信息,它可以工作,但我的报告没有创建。你知道如何使用它吗?

干杯,

c# gradle specflow allure .net-standard-2.0
1个回答
0
投票

它不是关于Allure,而是关于.net标准2.0的支持。请确保您的Jenkins代理能够构建.net std 2.0项目。

© www.soinside.com 2019 - 2024. All rights reserved.