We have a MsTest DLL that contains our integration tests, which is run after each deploy to our daily build environment.
However, on our new build server, we ran into problems with the following error message:
“UTA058: The test engine cannot run tests in the assembly”
It seems that you need to configure the .NET Framework to allow running assemblies from network shares.
I found this description on how to solve it (potentially the longest URL on the net ;)).
But we ran into more trouble… The .NET Framework 2.0 Configuration was nowhere to be found. As it seems, this tool disappears when the .NET Framework 2.0 SDK is installed. Where it disappeared to is another question that I haven’t found an answer to.
However, the great description also told us how to handle the problem on the command prompt, with the caspol tool.
To make a long story short, this command solved the problem on our build machine. Good enough for us:
caspol -machine -addgroup 1 -url \\[machine\]\Drops\* FullTrust -name FileW