Hi,
We have the following deployment structure:
1. Client assemblies - C:\MyProduct\Client\
2. Server assemblies - C:\MyProduct\Server\
On our test environment, we create an extra folder which has all the automated unit test dlls i.e.C:\MyProduct\TestDlls\
We need to run MsTest on the unit test dlls (C:\MyProduct\TestDlls\). But, the dependent dlls (for which the unit test cases are written) are outside i.e. C:\MyProduct\Client\ and/or C:\MyProduct\Server\
If I understand correctly, the probing technique in .Net would fail as the dependent assemblies are not under the subdirectories.
Kindly let me know how can I load the assemblies at the runtime so that I can run the unit test cases.
Kindly note that I don't have the liberty to change the directory structure :(
Kindly provide a code snippet.
Thanks in advance.
Regards,
Asim.