p10tyr / PrestoCoverage

Visual Studio Extension for simple coverage visuals
Apache License 2.0
45 stars 6 forks source link

MissingMethodException crash running tests with Presto #22

Closed pablocar80 closed 5 years ago

pablocar80 commented 5 years ago

Installed Presto and it crashes with the following exception:

[8/30/2019 9:00:57.059 AM Error] System.MissingMethodException: Method not found: 'Boolean Microsoft.VisualStudio.TestWindow.Controller.TestRunConfiguration.get_Debug()'.
   at PrestoCoverage.PrestoCoverageCore.OnTestExecutionStarting(Object sender, OperationStateChangedEventArgs stateArgs)
   at PrestoCoverage.PrestoCoverageContainerDiscoverer.OperationState_StateChanged(Object sender, OperationStateChangedEventArgs e) in C:\Projects\PrestoCoverage\PrestoCoverage\PrestoCoverage\PrestoCoverageContainerDiscoverer.cs:line 73
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Microsoft.VisualStudio.TestWindow.Controller.OperationData.<>c__DisplayClass43_0.<OnStateChanged>b__0()
   at Microsoft.VisualStudio.TestWindow.Extensibility.ILoggerExtensions.CallInternalWithLogging(ILogger2 log, Action action, Boolean shouldThrow)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
pablocar80 commented 5 years ago

Using VS2019, net472

p10tyr commented 5 years ago

Please track https://github.com/ppumkin/PrestoCoverage/issues/17 for fixes