Unit Testing Error - The unit test adapter failed to connect to the data source or to read the data

后端 未结 6 486
野趣味
野趣味 2021-01-12 13:07

I\'m using VSTS 2K8 and I\'ve set up a Unit Test Project. In it, I have a test class with a method that does a simple assertion. I\'m using an Excel 2007 spreadsheet as my

6条回答
  •  轮回少年
    2021-01-12 13:49

    Change the "Build Action" property of Excel(.xlsx) to Content and "Copy to Output Directory" to Copy if newer.

    This worked for me when I got the same error as urs...

    ++ also dont forget to browse and add the excel file in Deployment tab of TestRun.config file that is in the server soution..:)

提交回复
热议问题