Improved warning for missing analyzer dependencies
By design, dependencies of analyzers must be specified explicitly to ensure that builds are consistent. However, this is surprising and the warning that is generated when a dependency is missing does not give any hints as to how the problem might be solved. I updated the warning to clearly explain what must be done to resolve it. Old warning: "Analyzer assembly '{0}' depends on '{1}' but it was not found. Analyzers may not run correctly." New warning: "Analyzer assembly '{0}' depends on '{1}' but it was not found. Analyzers may not run correctly unless the missing assembly is added as an analyzer reference as well." Fixes #4057
Showing
想要评论请 注册 或 登录