I am using Pex to generate unit tests, which I then execute using NUnit (2.4). On the Team City Server, NUnit fails to load the Pex assemblies, and crashes. Example:
NUnit Error: Could not load file or assembly 'Microsoft.Pex.Framework, Version=0.19.41110.1,
Pex is not installed on the Team City server. The DLL's are in a folder which is part of the SCM source code download. We would rather not install Pex (or other tools). I need to set the PATH environment variable to include the DLL folder so NUnit can find them, for those specific projects that use the particular DLL folder. I tried setting the system.path in the enviroment variables section, viz
but this is not working. Is there a way to do this via configuration settings?
Thanks for your help.