I'm trying to investigate an odd issue where our build is failing on the team city agent but not locally on out dev machines. The error we see is something like
The type or namespace name 'MyClass' does not exist in the namespace 'MyNamespace'
When i copy the Csc.exe command that is being used i can't run it manually because it exceeds the max length allowed in command prompt. Firstly would team city also hit this problem? could this be the cause? if not how can i run this command to test it?
It seems like the command is so long due to lots of /resource:path arguments. Why does team city pass so many resource args anyway? doesn't the csproj contain a reference to them?