-
Notifications
You must be signed in to change notification settings - Fork 29
Description
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"
[2] Response from attempting to install "vc_redist.x64.exe" or "vc_redist.x86.exe"