I've been experimenting with the VBCodeProvider and it appears that it leaks
a small amount of memory every time I call CompileAssemblyFromSource(). It
seems to leak about as much memory as the resulting size of the compiled DLL
on disk.
Is it supposed to do this? Any workarounds? I suppose I could do the
compile in a separate AppDomain which would then get unloaded? (of course
I'd have to use an interface to the code in the AppDomain so I don't lock it
into the main domain).