Reputation: 41
Is it possible to determine which application pool and port to use when running opencover against iis for w3wp?
I get error when run this:
C:\Users\bilgevd\Desktop\KnowH\WebFoundations_v1.2.1\WebFoundations>"C:\Users\bilgevd\Desktop\KnowH\WebFoundations_v1.2.1\packages\OpenCover.4.5.2506\OpenCover.Console.exe" -target:C:\Windows\System32\inetsrv\w3wp.exe -targetargs:-debug -targetdir:C:\Users\bilgevd\Desktop\KnowH\WebFoundations_v1.2.1\WebFoundations -filter:+[] -register:user Executing: C:\Windows\System32\inetsrv\w3wp.exe Press 'Q' to shutdown the process:
Shutting down the process.
Committing... No results, this could be for a number of reasons. The most common reasons are: 1) missing PDBs for the assemblies that match the filter please review the output file and refer to the Usage guide (Usage.rtf) about filters. 2) the profiler may not be registered correctly, please refer to the Usage guide and the -register switch.
Upvotes: 0
Views: 1710
Reputation: 41
Thanks, I found the solution. I had to write -register:administrator instead. It now works :)
Upvotes: 4