Closed
Description
This is the same error as #456 but I am unsure about the cause in my case.
I am using a dockerfile based on bionic 2.2, which should be DotNetCore 2.2.8 according to docker but when I run dotnet test, I get the error:
Data collector 'XPlat code coverage' message: [coverlet]System.MissingMethodException: Method not found: '!!0 Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection.SessionStartEventArgs.GetPropertyValue(System.String)'.
at Coverlet.Collector.DataCollection.CoverletCoverageCollector.GetTestModules(SessionStartEventArgs sessionStartEventArgs)
at Coverlet.Collector.DataCollection.CoverletCoverageCollector.OnSessionStart(Object sender, SessionStartEventArgs sessionStartEventArgs) in C:\Users\toni\Workspace\coverlet\src\coverlet.collector\DataCollection\CoverletCoverageCollector.cs:line 102.
I have installed the nuget package for coverlet at v1.1.0 and the test execution command line tool is 16.0.1