I'm building 2 solutions in a loop in TFS, and in both of them I have the same test DLL (targeted for 2.0 in the 1st solution, and for 3.5 in the second). Everything is fine on the first pass, but in the second, I get this:
API restriction: The assembly 'file:///D:\Builds\1\Project\Main\Binaries\FF3.5\Potato.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
How can I work around this, can I force the unloading of the DLL? Can I do something about the appdomain?
Thanks,