I use MSTest and Visual Studio 2012 for unit testing, and I am confronted with the difference in how it works on two different machines regarding Environment.CurrentDirectory calls. Both machines perform the same tests and use the same .testsettings file (when deployment is turned off), but on one of them Environment.CurrentDirectory returns the bin / debug of the project (as I want), and the other returns TestResults / ... / Out as the current working directory.
In the one that runs in the bin / debug folder, the TestResults folder to run is empty, but on another machine, the TestResults folder contains the AgentReset file, and I donβt know where it came from. Does anyone know why this will happen, and if there is somewhere somewhere somewhere somewhere somewhere somewhere?
user1770117
source share