Debugging .NET apps via script

I'm trying to run the .NET IDE via an automated scripting process, and to be able to debug/run executables. Does anyone know which libraries to reference to gain this control? (And where to find some good documentation on this?) Alternatively, is there a command line tool that can be used to debug/run .NET app's?
[327 byte] By [BillN] at [2007-11-19 14:34:13]