-
Notifications
You must be signed in to change notification settings - Fork 392
Closed
Labels
needs more infoMore details are neededMore details are neededquestionThis issue is a questionThis issue is a question
Description
Hi,
I'm trying to use the VSTest integration and getting the following:
Data collector 'XPlat code coverage' message: 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).
I'm using the .NET Core 3 SDK Preview 6 3.0.100-preview6-012262.
The test project has the following:
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.1.1" />
<PackageReference Include="coverlet.collector" Version="1.0.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="FluentAssertions" Version="5.6.0" />
<PackageReference Include="xunit" Version="2.4.1" />
I also tried with Microsoft.NET.Test.SDK 16.2.0-preview-20190606-02, which was just published 5 hours ago.
mkoertgen and Turnerj
Metadata
Metadata
Assignees
Labels
needs more infoMore details are neededMore details are neededquestionThis issue is a questionThis issue is a question