CodeDomProvider and Compiler Warning Levels
When generating code using the CodeDomProvider
you may noticed that by default you do not get the same warning messages in the CompilerResults
that you receive when compiling in Visual Studio. For example, lets take the simple code below that has a static method with two unused variables.
autofac (26)
web-services (23)
wscf (15)
links (10)
mvc (6)
tools (6)
c# (5)
blogengine-net (5)
resharper (5)
sql-server (4)
rest (4)
windows (3)
httpclient (3)
windows-live-writer (3)
visual-studio (2)
tfs (2)
silverlight (2)
velocity (2)
service-fabric (1)
net-core (1)
asp-net (1)
dnx (1)
web-api (1)
linq (1)
mongodb (1)
wmi (1)
codedom (1)
nunit (1)
reflector (1)
-net-framework (1)
lightspeed (1)
sqlite (1)
-net-ria-services (1)
feedburner (1)
jquery (1)