I have a folder that contains numerous user control files and want to be
able to do a simple test (I’m using unit testing) that will iterate through
all of the .ascx files in this folder and compile them to see if there are
any basic compilation errors (i.e. I want to test the actual .ascx file, not
the code-behind per se).

I know how to iterate through the .ascx files in the specified folder . . .
the compilation part is what I am not sure on . . . Should I simply create
another .aspx page that iterates through and does a LoadControl on each and
then instantiate a request programmatically somehow . . . ? I guess I am
simply not sure of particulars.

Thanks for any help.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

===================================
This list is hosted by DevelopMentor®  http://www.develop.com
Some .NET courses you may be interested in:

Essential .NET: building applications and components with C#
November 29 - December 3, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to