InstrumentationHelper.HasPdb always returns false for deterministic source paths
See original GitHub issueWhen /p:DeterministicSourcePaths=true
is set, InstrumentationHelper.HasPdb
looks for PDB files in the wrong location. These files are never found, so instrumentation is not performed.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:43 (17 by maintainers)
Top Results From Across the Web
InstrumentationHelper.HasPdb always returns false for ...
This map defines mapping that the compiler applies to all paths used in the compilation (source paths, pdb path, etc.). This is an...
Read more >c# - Get source file location with DeterministicSourcePaths ...
So it seems that determinist paths are injected into the compiler functionality supporting CallerFilePath yielding this behavior. I need the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FWIW, I think it could be okay to keep drivers at the same version long as what’s in each is documented somewhere. If they all tend to rely on an underlying core library, then that could be what drives the main version. Totally up to you though of course.
Plan