Skip to content

Help configuring project with new MS code coverage option #261

Answered by tonyhallett
fossbrandon asked this question in Q&A
Discussion options

You must be logged in to vote

Firstly the exception you encountered. The RunMsCodeCoverage option has to apply to all the test projects and as such should only be specified as a vs option. I will update the docs.

With regards to the test adapter - this needs to point to the location of the dll. For the one that comes with FCC this is
C:\Users\YOU\AppData\Local\FineCodeCoverage\msCodeCoverage\17.1.0\build\netstandard1.0.
If you are installing the nuget package then you should use your nuget installation path - C:\Users\YOU.nuget\packages\microsoft.codecoverage

You did not need to install the package as FCC will provide the TestAdaptersPaths to the test framework ( without touching your runsettings file )

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fossbrandon
Comment options

Answer selected by fossbrandon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants