Skip to content

Support UseAlternativeLoadPath for native DLL lookup #207

@hotchkj

Description

@hotchkj

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:

using (var pdbWriter = SymUnmanagedWriterFactory.CreateWriter(new SymMetadataProvider(peReader.GetMetadataReader()), SymUnmanagedWriterCreationOptions.Deterministic))

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions