且构网

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

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

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

我们通过使用我们的域凭据运行 VS 2012 解决了我们的问题.我们使用虚拟机进行开发,所以我们不直接登录域.要运行 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.0Common7IDEdevenv.exe"

runas /netonly /user: username "C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEdevenv.exe"

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

where username is your domain credential.