Reputation: 9648
The default behavior of TFS Build Server is copy all output, dlls, exes to the folder C:\Builds\{Build_Agent_Number}\{Team_Project_Name}\{Build_Controller_Name}\Binaries
. I have customized the build process, not to copy to that folder but instead copy it to another, let say C:\Builds\{Build_Agent_Number}\{Team_Project_Name}\{Build_Controller_Name}\Sources\Some_Folder\Some_Sub_Folder
.
The build process works as expected but the problem is all tests don't run. I debugged the build process template and found that it could not find test dlls. I want to know how can I specify the test dll location in the testsettings file or in the build process template.
Upvotes: 0
Views: 612
Reputation: 5715
You can set it on Find Test Assemblies activity in you Build Process Template workflow. It locates a little below the middle of the process.
String.Format("{0}\{1}", MyCustomAssembliesPath, testAssembly.AssemblyFileSpec)
Upvotes: 1