Build/Test Issues

Allow Code Analysis option does not apply to Roslyn analyzers

Started by distilled on 1,971 views

Not sure if this is the right place for this feedback, or if a feature request would be more appropriate.

Roslyn analyzers provided by NuGet packages can significantly increase the time it takes to build a project. NCrunch has a configuration setting to disable code analysis on build. However, this doesn't also disable Roslyn analyzers. It seems like if this setting is configured to disallow code analysis then Roslyn analyzers should not be included and executed when NCrunch builds a project.
distilled wrote:Not sure if this is the right place for this feedback, or if a feature request would be more appropriate.

Roslyn analyzers provided by NuGet packages can significantly increase the time it takes to build a project. NCrunch has a configuration setting to disable code analysis on build. However, this doesn't also disable Roslyn analyzers. It seems like if this setting is configured to disallow code analysis then Roslyn analyzers should not be included and executed when NCrunch builds a project.


Good catch. Yes, disabling these by default seems sensible and it's also what the configuration setting implies. We'll look into it.


Post a reply

Log in to reply.