FineCodeCoverage icon indicating copy to clipboard operation
FineCodeCoverage copied to clipboard

Unable to run tests that require 64bit OpenCover profiler

Open SiarheiMachel opened this issue 4 years ago • 5 comments

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?

SiarheiMachel avatar Jul 19 '21 13:07 SiarheiMachel

Not currently. Is it the register switch that you need ? https://github.com/opencover/opencover/wiki/Usage

tonyhallett avatar Jul 19 '21 13:07 tonyhallett

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.

SiarheiMachel avatar Jul 19 '21 14:07 SiarheiMachel

Do you have an open source project that I can test against ? If not can your create a minimal repro.

tonyhallett avatar Jul 20 '21 11:07 tonyhallett

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

tonyhallett avatar Jul 20 '21 12:07 tonyhallett

I'm working on a huge enterprise project, cannot share it, unfortunately. Will try it on test project and report the results here

SiarheiMachel avatar Jul 20 '21 13:07 SiarheiMachel

Available in latest version

tonyhallett avatar Jan 17 '24 20:01 tonyhallett