The specified path, file name, or both are too long.

2012-09-12  籽藤 

  I cannot debug test methods since the error : 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.    

 Solution -

  • Change the scheme of testsetting file and define a short prefix for the folder name of test results

  • Open the testsetting file via notepad, change the element to configure the location of test results directory.

                   Such as <Deployment userDeploymentRoot="C:\TestResults" useDefaultDeploymentRoot="false" />

414°/4148 人阅读/0 条评论 发表评论

登录 后发表评论