Ok lets say you try to dynamicly compile some source code using the codedom compiler solution provided by the framework.

Check out this sample I posted many months back.
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=967&lngWId=10

Ok, now lets say you add a couple references manually to the compileroptions class that gets used inthe compile of the source.

       With PM.ReferencedAssemblies
                .Add(Application.StartupPath & "\Classicdata.dll")
                .Add(Application.StartupPath & "\dlldataAccessTemplate.dll")
            End With

Simple huh, well lets say you miss-spelled one of the dll names. Now when you compile you would think that it would trigger an error? well you would think that the results class 

 Dim Results As System.CodeDom.Compiler.CompilerResults
            Results = CVB.CompileAssemblyFromSource(PM, Code.ToString)

would have some errors in the errors collection that you can show the user??
No, it shows as having no errors.

You end up scratching your head because there are no exceptions and no errors in the results collection. 

Now if you check the string colection provided by the output property then you can see that there were problems.

What gets me is lets say you left out a reference that the source code needs. You will then get errors in the resutls.errors collection. Saying something like no reference provided for system.data or something.

So why don't we get any errors there when you miss type the dll name?

Pretty wacky if you ask me.

My solution is to look at the output too, if output.count > 0 then I show the output information if it's zero then that means everything went aok.

crazy bugs