Hi Remco,
I noticed that Code Coverage marker is misssing in VSIX Projects.
Demo
As a workaround I will use code library. It is even better for a structure of code. Nevertheless maybe you can fix it.
Regards,
Sergei
Daily Usage Issues
Coverage is missing in VSIX Project (VS 2015)
Started by spolonski on 4,963 views
Remco NCrunch Developer
#9770
02 Feb 2017 23:05 UTC
Hi, thanks for sharing this issue.
The problem here is in the VSIX project template itself. This project contains a declaration as follows:
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
This breaks NCrunch's instrumentation, because the instrumentation relies on having a PDB file in the build output directory.
To fix this, change the code as such:
<CopyOutputSymbolsToOutputDirectory Condition="'$(NCrunch)' != '1'">false</CopyOutputSymbolsToOutputDirectory>
The problem here is in the VSIX project template itself. This project contains a declaration as follows:
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
This breaks NCrunch's instrumentation, because the instrumentation relies on having a PDB file in the build output directory.
To fix this, change the code as such:
<CopyOutputSymbolsToOutputDirectory Condition="'$(NCrunch)' != '1'">false</CopyOutputSymbolsToOutputDirectory>
Post a reply
Log in to reply.