Error: Error adding test case [5696] to test run: Unable to load the test container '\Build9-9-9\Builds\9.9.9 Build TestSuite\9.9.9 Build TestSuite_20170713.1\sample1.dll' or one of its dependencies. Error details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITesting, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Versions- TFS 13 , Microsoft visual studio enterprise 17 , Test Agent 17 , Test Controller 17 , Microsoft test manager 17, Not able to resolve this. Please help.
Able to load the DLL but tests are not getting executed: MTM Test Logs
Error list includes the following:
"ID" "Date and time" "Message" 18 "07/24/2017 12:46:16" "Timestamp '7/24/2017 4:30:29 PM'; TestOutcome 'Warning'; Message 'Warning: Test Run deployment issue: Failed to access the file 'C:\Users\bmaster\AppData\Local\VSEQT\QTController\rm\1594\bmaster_SW-TESTCON 2017-07-24 12_29_29\Out\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\Architecture Tools\Providers\ProgressiveReveal\Microsoft.VisualStudio.ArchitectureTools.ProgressiveRevealProvider.dll': System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.'."
"ID" "Date and time" "Message" 16 "07/24/2017 12:46:16" "Timestamp '7/24/2017 4:30:28 PM'; TestOutcome 'Warning'; Message 'Warning: Test Run deployment issue: Failed to access the file 'C:\Users\bmaster\AppData\Local\VSEQT\QTController\rm\1594\bmaster_SW-TESTCON 2017-07-24 12_29_29\Out\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\Architecture Tools\Providers\AssemblyMetadata\Microsoft.VisualStudio.ArchitectureTools.AssemblyMetadataProvider.dll': System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.'."
"ID" "Date and time" "Message" 18 "07/24/2017 12:46:16" "Timestamp '7/24/2017 4:30:29 PM'; TestOutcome 'Warning'; Message 'Warning: Test Run deployment issue: Failed to access the file 'C:\Users\bmaster\AppData\Local\VSEQT\QTController\rm\1594\bmaster_SW-TESTCON 2017-07-24 12_29_29\Out\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\Architecture Tools\Providers\ProgressiveReveal\Microsoft.VisualStudio.ArchitectureTools.ProgressiveRevealProvider.dll': System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.'."
And so on!!