Visualstudio-docs: How to permanently "Select Test Settings File" in Visual Studio?

Created on 15 Jul 2019  Â·  7Comments  Â·  Source: MicrosoftDocs/visualstudio-docs

Every time I open Visual Studio I have to re-select the .runsettings before running my tests. How can we link this once and not have to do this over and over again?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 doc-bug support-request visual-studio-windowprod vs-ide-testech

All 7 comments

@Swimburger Thanks for your question. It looks like you're having an issue with the product itself, rather than an issue with the documentation. Here are a few options where you might consider asking your question:​
https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/
As well, you might also consider using the Report a Problem tool to report the issue.

Thank you for pointing that out. I have asked the question on the suggested VS forum.

Consider making it more prominent/evident that for the "Select Test Settings File" selection to persist across closing and re-opening Visual Studio that you must be working with (and saving) Solution (.sln) files. For those of us that only want to work with project files it seems that we are stuck reselecting the the correct file via the menu bar every time we re-open Visual Studio.

Reopening this issue to document the project vs. solution behavior. Thank you @b8adamson.

@b8adamson FYI, I have always been using the Solution approach when the test setting file stopped persisting. Though it's not consistently forgetting about the test setting file.

@b8adamson I moved a project to a folder without a solution, and then opened that folder in VS using "File -> Open -> Folder". I selected a runsettings file and closed the folder in VS. When I reopen that folder, the runsettings file is still selected. Did you read somewhere that test settings files only persist if you use solution files, or is it just from your experience?

Closing as there doesn't seem to be anything to document.

Was this page helpful?
0 / 5 - 0 ratings