Description
As per @BOnstwedder request
Last I was wondering if it were possible to set the target for opencover, as it would be nice to set this to our locally installed nunit3console exe
I was going to add an option for the register argument as there appears to be a requirement for it #167 and #191 (comment).
Apparently below is not sufficient.
project.Is64Bit = container.TargetPlatform.ToString().ToLower().Equals("x64");
• -register[:user] - Use this switch to register and de-register the code coverage profiler. Alternatively use the optional user argument to do per-user registration where the user account does not have administrative permissions. Alternatively use an administrative account to register the profilers using the regsvr32 utility.
If you do not want to use the registry entries, use -register[:Path32] or -register[:Path64]to let OpenCover select the profiler for you. Depending on your choice it selects the /x86/OpenCover.Profiler.dll or /x64/OpenCover.Profiler.dll.
You should also consider using path32 and path64 options when profiling .net core targeted applications and .net 4.8 framework.
How would you like to proceed on the register argument, target ( and target args ) and additional arguments that we do not provide ?