Closed joyep-jojo closed 6 years ago
Please use Gauge.CSharp.Lib
version 0.7.1
for now. We will be releasing the next version of gauge-csharp which has new API.
I did some digging, here's what's happening:
ExecutionContext
to every hook, which contains some metadata about the execution. ExecutionContext
types in different versions of Gauge.CSharp.Lib
are treated as different types by .NET Framework (Gauge.CSharp.Lib is a strong named assembly), causing a type conversion exception that is mentioned above.I will be raising a fix for this shortly.
should be available in nightly >= 18/07/2018
Verified with
Gauge version: 1.0.1.nightly-2018-07-18
Commit Hash: e62f840
Plugins
-------
csharp (0.10.5.nightly-2018-07-19)
After upgrading the library from 0.10.3 to 0.10.4 in my project, I was unable to run scenarios.
Expected behavior
scenarios should run as usual.
Actual behavior
An error is displayed.
Steps to reproduce
Gauge version