Problem
Project Auditor compiles assemblies for the currently selected target in Development mode. This leads to over-reporting since Development assemblies might contain code that is not shipped to the end user.
Solution
Compile (and analyze) Non-Development assemblies instead. In this PR, we are also replacing the previous AnalyzeEditorCode with CompilationMode option. The CompilationMode enum, which can be one of the following:
Problem Project Auditor compiles assemblies for the currently selected target in Development mode. This leads to over-reporting since Development assemblies might contain code that is not shipped to the end user.
Solution Compile (and analyze) Non-Development assemblies instead. In this PR, we are also replacing the previous
AnalyzeEditorCode
withCompilationMode
option. The CompilationMode enum, which can be one of the following: