dotnet / dotnet/symreader-converter

Support UseAlternativeLoadPath for native DLL lookup

Open
#207 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
70
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Some build tooling has more esoteric loading of dependencies (Cake for example), and requires custom path lookup, particularly when dealing with native dependencies, as this converter has on `Microsoft.DiaSymReader.Native`.

`SymUnmanagedWriterFactory.CreateWriter` supports this via `SymUnmanagedWriterCreationOptions.UseAlternativeLoadPath`, but the current converter code doesn't offer this:
https://github.com/dotnet/symreader-converter/blob/b52ea77026652e6a29f6074de697d9eb8148a071/src/Microsoft.DiaSymReader.Converter/PdbConverter.cs#L169

Currently I have to clone the code to add this option to get the native DLL loading working. It would be extremely useful to have this available, either just included or as an option.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.