dotnet/runtime

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

開放

#73,922 建立於 2022年8月14日

 (3 則留言) (1 個反應) (0 位負責人)C# (5,445 個分叉)batch import
Priority:3area-Tools-ILVerificationfeature-requesthelp wanted

倉庫指標

星標
 (17,886 顆星)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 PR)

描述

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.

貢獻者指南