Skip to content

Plugin fails to execute on VS2017 Community Edition #21

@MattRyder

Description

@MattRyder

Steps to Reproduce

  • Install Visual Studio 2017 Community Edition
  • Install OpenCppCoverage
  • Install OpenCppCoveragePlugin
  • Open a CMake project
  • Select "Tools > Run OpenCppCoverage" from VS2017 menu

Expected Result

OpenCppCoverage is called, only to likely raise an error about needing to be configured in some way. Still, I expect OpenCppCoverage.exe to have a crack at doing its magic.

Actual Result

I receive this error [1] as a popup and within the Output window, and further execution is halted.

Further information

The requested redist files (both arch. x86/x86_64) fail to install with the message described in the screenshot [2].
I tracked this down to this line, which checks the Registry for MSVC 14.0 runtimes? These keys don't exist on my machine. I tried creating them to spoof it, and the check appears to be smarter than I. I, like any wise person, don't mess around with my registry much, for fear of not booting again.

I've also tried to rebuild from source with the check patched out, but I can't seem to get "Microsoft.VisualStudio.Threading" referenced for a successful build, again I believe this to be a runtime version mismatch. (v14.0 vs. v15.0 installed)

Incidentally, OpenCppCoverage itself does work. And quite frankly, I like it. VS2017 integration would rock my world though.

Screenshots

[1] Response from running "Run OpenCppCoverage"
opencpp_plugin

[2] Response from attempting to install "vc_redist.x64.exe" or "vc_redist.x86.exe"
installing_redist

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions