且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

TFS 2012 + Visual Studio 2012:某些设置选项返回“用户名或密码不正确"

更新时间:2023-11-07 22:58:46

我们通过使用域凭据运行VS 2012解决了此问题.我们使用VM进行开发,因此我们不直接登录域.要运行VS,我们使用以下内容(作为批处理文件):

We resolved our issue with this by running VS 2012 with our domain credentials. We use VMs for development, so we do not directly login into the domain. To run VS, we use the following (as a batch file):

runas/netonly/user:用户名"C:\ Program Files(x86)\ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ devenv.exe"

runas /netonly /user: username "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"

其中用户名是您的域凭据.

where username is your domain credential.