TeamCity is not including my .INI file when running tests.

Answered

Hi! I have a project with a custom .INI file inside. The INI file is configured as "Content" under Build Action and "Copy Always" under Copy to Output directory property. But when the Visual Studio Tests Runner is executed (MSTEST) the tests can't find the INI file. Even when the INI is present in the CheckOut folder, the tests are executed in the tmp folder of the agent (E:\Agents\Bellota\temp\buildTmp\TCServices_BSERVER 2020-08-26 18_39_30\Out\) and can't find the INI file.

How can we solve this problem?

Thanks.

0
2 comments

Is this post invisible? Some help please?

0

Hi, could you please upload the full build log, teamcity-agent.log from the corresponding agent, and a screenshot of the build step configuration in question to https://uploads.jetbrains.com/? I would also like to know the TeamCity version you are using.

0

Please sign in to leave a comment.