I am currently using Visual Studio 2017 and have upgraded my .testsettings file to a .runsettings file. My goal is to use the runsettings file with a TFS build to update certain parameters as needed for a build, but would like to access test parameters located within my test cases by using the DataSource. The error I am facing is the same as described here - https://social.msdn.microsoft.com/Forums/en-US/884cff6a-1da1-44d8-b8c8-d52d6ff12df6/mstest-unable-to-run-the-test-using-runsettings-file?forum=vsunittest.
Using the .testsettings file previously solved the issue, but a runsettings file does not appear to be usable if the testsettings file is being used.
Update
Goal - Run a test locally with a runsettings file and using the DataSource attribute to pull parameters from a TFS test case.
Here is the following error when attempting to run a test locally.
Here is where the runsettings file is set.
Update 2
I have added the following tag to the runsettings file.
I have reduced the NuGet 'MSTest.TestAdapter' from 1.1.18 to 1.1.11 and now I am receiving the following error. The exact test will run and connect to the datasource with no issues on Visual Studio 2015 using a testsettings file.