...
To capture logs from TeamCity Visual Studio Addin please run Microsoft Visual Studio executable (devenv.exe) with /TeamCity.LogFile <PATH_TO_FILE> switch specified.
Visual Studio logging
To troubleshoot common Visual Studio problems please run Visual Studio executable file with /Log command Line switch and send us resulting log file.
...