Tag: codedom
All the articles with the tag "codedom".
CodeDomProvider and Compiler Warning Levels
Published:3 min readBy default, the CodeDomProvider does not return warning messages in the CompilerResults that are returned when compiling code in Visual Studio. The default warning level is 4, and you can use CompilerParameters.WarningLevel to set the warning level and CompilerParameters.TreatWarningsAsErrors to abort the compilation for warnings.