Fixed the CodeDom Problem

I figured out what the problem was. As soon as you access the CompiledAssembly property, like this:

string result = results.CompiledAssembly.Location;

The assembly is locked. Fortunately, there's the PathToAssembly property which gives you the location of the assembly without locking it.

* Posted at 03.17.2005 09:38:32 AM CST | Link *

Blog History