-
-
Save alaawahbah/d8d3686b3197e637536ac3b3313bcd28 to your computer and use it in GitHub Desktop.
Fix: Visual Studio – “Cannot run when setup is in progress”
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
devenv /AllowDuringSetup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please try below items to narrow down the issue: | |
Remove the tfs related credentials from Credential Manager | |
In Credential Manager add the new updated Generic Credentials for the TFS account. Generally this would overwrite the cached credentials. | |
Close all Visual Studio instances, delete %LOCALAPPDATA%\.IdentityService as you did. | |
Clear TFS caches %LOCALAPPDATA%\Microsoft\Team Foundation\7.0\Cache | |
Clear all the browser caches especially for the stored password | |
Restart Visual Stuido > Team Explorer > Manage Connections to check if the Enter credential dialog popup. Just try this several times. Based on my test the diaolog will popup first time, but if you cancel it, then you have to restart VS to popup it agagin. | |
Run Visual Studio as another user: | |
cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE | |
runas /netonly /user:<account> devenv.exe | |
Enter the user possword, then Team Explorer > Manage Connections |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment