/ /インストールされているSpecFlow.Allureしかし、それは動作しません - C#、gradle、specflow、魅力、.net-standard-2.0

インストールされているSpecFlow.Allureが動作しません - C#、gradle、specflow、allure、.net-standard-2.0

私はSpecFlow Allureに問題がありますが、それはサーバー上では動作しません。私はWindows 2008サーバーを持っており、私はgradle用.tplファイルを使用しています。私は自分の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.

私が.tplファイル情報から削除した場合、それは動作しますが、レポートは作成されません。どのようにそれを使用するか考えていますか?

乾杯、

回答:

回答№1は0

それは魅力についてではなく、.net標準2.0のサポートについてです。あなたのJenkinsエージェントが.net std 2.0プロジェクトをビルドできることを確認してください。