Skip to content

MSBuild Core support for Tasks with native dependencies #1887

Description

@AArnott

I'm trying to fix dotnet/Nerdbank.GitVersioning#112 where my MSBuild Core Task needs to load the libgit2 native library and realizing that while .NET Core exposes an event handler to allow aided assembly resolution, it has no equivalent for native modules. And in particular MSBuild does not offer any support for this to Tasks either, so I'm sunk -- unless I perhaps create my own AssemblyLoadContext and use that, but that requires that my MSBuild Task invoke yet another dedicated assembly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NET CoreArea: EngineIssues impacting the core execution of targets and tasks.triaged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions