refactor: treat StyleCop violations as warnings in Release builds
Merge pull request #397 from adamralph/262

refactor: treat StyleCop violations as warnings in Release builds