dotnet/runtime

Resolve ILVerify assembly references from `.deps.json`.

Open

#73.922 aberto em 14 de ago. de 2022

Ver no GitHub
 (3 comments) (1 reaction) (0 assignees)C# (5.445 forks)batch import
Priority:3area-Tools-ILVerificationfeature-requesthelp wanted

Métricas do repositório

Stars
 (17.886 stars)
Métricas de merge de PR
 (Mesclagem média 12d 11h) (661 fundiu PRs em 30d)

Description

An obstacle of using ILVerify is that all references of the assembly must be explicitly specified on the command line. We could take advantage of the AssemblyDependencyResolver class and automatically find the references from the assembly's accompanying .deps.json file if it exists. This would make using ILVerify much more easy.

The main question is how to expose it to the user. A way I thought is to use it if we specify a new switch like --use-deps-json and also have specified only one input file and no --references. If the shape is agreed upon I can implement it.

Guia do colaborador