SPC060203: Do not deploy assembly with DEBUG mode

Assembly should be build with RELEASE mode. Main reason is to prevent running code which is defined within #DEBUG preprocessor directive and which typically should not run in productive environments.

TypeName: DoNotDeployAssemblyWithDebugMode
CheckId: SPC060203
Severity: Error
Type: AssemblyFileReference

The assembly should be build with RELEASE mode to avoid performance and security issues with assemblies in DEBUG mode.

comments powered by Disqus