Hi,
We have a web application where users will be adding compiled
user controls into the site. (Ascx + *.dll)
I need to be able to catch and handle compiler errors in the main web
project.
When I drill down, way down, in the exception object I can see the
error message that is shown if there is no error handling.
If my understanding is correct, in short the problem is this,
I need to be able to get into the
System.CodeDom.Compiler.CompilerErrorCollection
and spin through all the Error objects, displaying the relevant messages.
Anyone know how to get in there??
Do I have to recompile the project within code to get the Results
collection??
Note that the CompileErroCollection is filled. If there is
no error handling at all, the compiler error comes up in a web page
for the user. I simply want to catch it and control the error messages
from the compiler.
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.