visual-studioteamcitydebug-symbolssymbol-server

Can Visual Studio access TeamCity symbol server if basic auth is rquired?


I have TeamCity symbol server plugin working and can pull symbols & source from VS2017 as expected as long as I allow guest login in TeamCity and guest has appropriate rights.

However, the required rights are quite permissive (allows downloading source code). This is a private, commercial team, so I don't want to allow public/guest access. I'd like it to be authenticated, but can't seem to get VS2017 to prompt for credentials or pass them on the URL configured in VS2017's Debugging>Symbols settings (https://user:pass@my.teamcity.com). The output window always shows "Symbol server authentication failed".

Not sure if it's a limitation of VS or I'm not configuring it properly. Does anyone know if/how this is possible?


Solution

  • This is now fixed in 15.5. It's not listed in the release notes as far as I can tell, but a MS rep commented that it was fixed in 15.5, so I gave it a try.

    After I installed 15.5, it didn't prompt me for credentials at first. So I deleted/re-added the symbol server setting and cleaned the symbol cache. Then on the next run it prompted me for credentials, successfully downloaded the symbols and allowed me to debug the assembly.