I need to load two versions of the same DLL in order to compare their outputs. I assume that I can use AppDomains for this, but I need some guidence.
Here is a guide to do that:
extern alias oldVer; extern alias newVer;
and when you compile:
csc /r:oldVer=Somepath\ClassLibrary.dll /r:newVer=AnotherPath\ClassLibrary.dll program.cs
or in Visual Studio change the "aliases" field in the property tab of your project references