I recently needed to move the installation of my Build Agent from the C: drive to the D: drive, and now one of my Build Configurations will not build correctly.
The error I am getting is because for this particular Build Configuration, the teamcity.agent.work.dir variable is being set to the old C: path. Every other build configuration is working and getting the correct D: path (which is set in the buildAgent\conf\buildAgent.properties file). There is only one Agent registered to the Server, and I am running the different Build Configurations back to back without restarting the Server or the Agent, so they are definitely using the same Build Agent. I am wondering where the Build Configuration could be getting the old C: drive path from, as I thought those came directly from the buildAgent.properties file?
I have searched the local drives of the machine the Build Agent is installed on (which is the same machine as the Server) for other copies of the file buildAgent.properties, but did not find any that I wasn't expecting (namely, only the one in the buildAgent\conf).
Thanks for the help,