c# - How can I programmatically check that a reference is configured correctly in a solution
- 阅读更多 关于 c# - How can I programmatically check that a reference is configured correctly in a solution
问题 We are having some build errors and we need to manually fix the references. I would like to programmatically check that project references are defined instead of dll references: Thus go over all the references in a solution and for each project, check that the references are defined correctly. This way the relevant dependencies will be configured correctly. Does anybody know of an existing solution? I would like a validation tool that will run before the gated check-in. 回答1: I have written