Instrumenting binaries issue #155
-
Hi Guys, Got issue with instrumenting binaries on build server (Win Server 2019 Standard) - couple days ago altcover stopped seeing all of my dlls and see only third party ones: CefSharp.Core.dll, Ben.Demystifier.dll, etc, which I need filter out anyway. After running command:
First of my thoughts was something wrong happend with binaries, but on my local machine (Windows 10 Enterprise) all is working flawlessly:
I'm using on both locations (my dev machine and build server) the same set of dlls, the same version of altcover. I'm realising that most probable source of this issue is related with build server configuration, not altcover itself, Am I missing something? Thanks in advance for your support. BR, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Beta Was this translation helpful? Give feedback.
The most obvious cause for an assembly to be skipped is that matching debug symbols -- the link between the IL in the assembly and the source code being covered -- are not being found. It is even possible that they are not being generated at all on the build server, as they are switched off by default for the Release build configuration.
The other assemblies you mention do come packaged with embedded debug information -- like this
which is the first place the instrumentation process looks. Next is the symbol file location from the assembly debug header (typically, the intermediate build folder), next is in the same directory as the assembly, next are any folders listed as
--symbolDirectory
…