'Mono Cecil add missing assembly

For some reason when I try to load some assembly and analyze it, I'm getting error Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly...

I don't really care about why this exception throw, I know where is the missing assembly.

There is a way to some something like AppDomain.CurrentDomain.AssemblyResolve event but for Mono.Cecil? I can manually load the missing assembly but I don't know how.
So, how can I load an assembly for Mono.Cecil?



Solution 1:[1]

In my case I was missing, while working on a .NET Core 3.1 project.

Install-Package Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator -Version 4.0.1

https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dwain Browne