简体   繁体   English

查找对dll的引用数量

[英]Find number of references to a dll

We would like to keep track of the number of references that link to a dll. 我们想跟踪链接到dll的引用的数量。

Something like Resharper provides: Resharper之类的东西可以提供: 在此处输入图片说明

But then automated so that we can keep track of the number of usages and do something if the number of usages increases from 139 to 139+. 但随后又实现了自动化,以便我们可以跟踪使用次数,并在使用次数从139增加到139+时做一些事情。

Is there an easy way to do this automatically? 有没有简单的方法可以自动执行此操作?

This is probably your best bet if you want things returned the Resharper way. 如果您想让事物以Resharper方式返回,这可能是最好的选择。

ReSharper Command Line Tools ReSharper命令行工具

This blog post provides some additional information: 此博客文章提供了一些其他信息:

ReSharper Code Analysis Goes Beyond Visual Studio ReSharper代码分析超越了Visual Studio

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM