c# : Utility to find circular references / compile in correct order?

后端 未结 5 1585
旧巷少年郎
旧巷少年郎 2020-12-11 18:37

doers anyone know of a good utility or program to interrogate a solution or a directory for all projects and tell you where circular references are and possible compile in o

5条回答
  •  無奈伤痛
    2020-12-11 19:31

    I inherited a gigantic visual studio solution with a few circular reference paths. I wrote a linqpad script to help find the circular reference chain:

    https://github.com/ronnieoverby/linqpad-utils/blob/master/Find%20circular%20references.linq

    My implementation is probably naive, but it worked reasonably fast for me.

提交回复
热议问题