I have a settings file settings.json, which holds api authorization key that is required for the test project to run and successfully pass all the test cases.
I have included settings.json in the .gitignore so I do not accidentally publish the api authorization key to github.
The team city build is triggered when I do a check in to github repository. The test cases fail since settings.json does not exist in the repository.
When I run the project locally, I always copy the settings.json file to the outputdirectory and the tests pass.
How do I pass the settings.json in team city to build the project successfully, without checking in settings.json to github.
Testing Framework: MSTest