We use TeamBuild and have been testing our continuous integration for 4 months, and this problem just appeared the other day in one of our test assemblies when we ran tests on one of our test assemblies only on the build server.
{NameSpace} .Order_Accessor, Version = 0.0.0.0, Culture = neutral, PublicKeyToken = '{xxx}' or one of its dependencies. The system cannot find the specified file.
This is not caused by problems with Publicize.exe noted elsewhere. Unit testing is performed normally locally, and the created assembly is created.
The confusing part is that we generated prefabricated assemblies for private access in numerous projects without problems, including this problem. Studying this problem further, the generated assembly is never copied to the TestResults // Out directory , which seems to be the problem. I decided that this was a problem by adding the assembly from SolutionRoot using the deployment settings of TestRunConfig, resulting in the assembly manifest not matching the error.
I am wondering if anyone has a problem copying these collections. If this helps, we are running TeamSystem 2008 on Windows Server 2008.
The following is a test deployment deployment error for the Run file in question has the following problems:
TESTTOOLSTASK: warning: problem starting Test Run: could not get the file for the deployment element "Email Templates \ OrderConfirmation.txt" (output directory "Email Templates") specified in the test "EmailServiceTest.EnqueueTest": System.IO.DirectoryNotFoundException : Could not find part of the path "Continuous Assembly Integration \ Binaries \ Continuous Integration Test \ E-mail Templates \ OrderConfirmation.txt".
TESTTOOLSTASK: warning: problem with starting the test deployment: could not get the file for the deployment element "Email Templates \ OrderConfirmation.htm" (output directory "Email Templates") specified in the test "Email.Tests.EmailServiceTest.EnqueueTest ': System .IO.DirectoryNotFoundException: Could not find part of the path "Continuous Integration Assembly \ Binaries \ Continuous Integration Test \ E-mail Templates \ OrderConfirmation.htm"
TESTTOOLSTASK: warning: deployment problem Test Run: assembly or module "Services.Order_Accessor" directly or indirectly referencing the test container '\ continuous integration build \ binaries \ continuous integration test \ services.order.supplierintegration.tests.dll' was not found.
tfs unit-testing mstest team-build
mkedobbs
source share