im trying to build an application with using Code-Dom, the problem is that the compiler treats warnings as errors, i tried to specify it's parameters but with no luck
Dim Parameters As New CompilerParameters()
Parameters.WarningLevel = 0
Parameters.TreatWarningsAsErrors = False
the compiler works when there is no warnings, but i have no idea what to do?! anything could be done?
here is one of the errors, this one about
Thread.CurrentThread.Sleep(5000)
code:
Dim text123 As String = ""
While True
Thread.CurrentThread.Sleep(5000)
Dim s = go()
If s <> text123 Then
text123 = s
functiontext("#" , s)
End If
End While
and the other errors about functions that don't return values