We use Team City to, among other things, increment the version number and check in that change.
Checking in fails with the aforementioned error. The message makes sense, because that workspace doesn't exist, so I guess my question is why does it try to check in from a non-existing workspace? And how do I fix it?
Additional info:
The build server has been in use for a long time, but Team City was recently updated and the old workspaces were replaced. I'm guessing that somewhere in a cache or settings file the old workspace name still exists for some reason?
If I open Visual Studio on the build server and check in from there, everything works fine