Unable to run tests that require 64bit OpenCover profiler
Installed product versions
- Visual Studio: 2019 Professional (16.10.0)
- This extension: 1.1.141
Description
I have couple tests that take values from registry. Thus, they require 64bit process to be run. Can I somehow override default OpenCover settings that FCC specify?
Not currently. Is it the register switch that you need ? https://github.com/opencover/opencover/wiki/Usage
Yes. Strangely, it worked previously, but now started failing with an error that it cannot access registry as a 32 bit process. At the same time, VS test explorer is running fine under 64bit.
Do you have an open source project that I can test against ? If not can your create a minimal repro.
I created a single test that read sub keys from Registry.Users and had no issue. I am using Visual Studio Community 2019 Version 16.10.3
I'm working on a huge enterprise project, cannot share it, unfortunately. Will try it on test project and report the results here
Available in latest version