无法在Visual Studio 2015中完成连接到SharePoint [英] Can't finish connecting to SharePoint in Visual Studio 2015

查看:88
本文介绍了无法在Visual Studio 2015中完成连接到SharePoint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个SharePoint应用程序,我一直在部署到我的SP Online租户。当我打开VS模式打开时,它提示我输入我的凭据以正常连接到SharePoint。然而,在我输入之后,模态中的所有内容都消失了,但是
这个框不会被忽略。当我关闭该框时,它将无法完成连接到SharePoint。构建项目还会提示产生相同内容的信用。



我也试过创建一个新项目,当我通过它输入我的SP在线信息时也会发生同样的事情。重新启动VS或我的计算机没有帮助,卸载和重新安装VS

解决方案


请尝试将Visual Studio重置为系统默认值(请单击工具 - >导入和导出设置 - >重置所有设置)并修复Visual Studio安装。


请打开管理CMD窗口并导航到C:\Program Files(x86)\ Microsoft Visual Studio 14.0\Common7 \IDE并运行以下命令:


                devenv / safemode


阻止Visual Studio启动时加载所有第三方VSPackage,从而确保稳定执行。
如果有效,则此问题应由扩展程序引起,您需要删除工具扩展程序和更新下的已安装扩展程序。


如果它没有在安全模式下工作,请尝试删除或重命名以下文件夹:



  • C:\ Users \<您的用户名称> \\ \\ APPData \本地\微软\ VisualStudio \\\ 2014.0
  • C:\ Users \<您的用户名称> \ AppData \Roaming\Microsoft \ VisualStudio \14.0

同时,以管理员身份运行visual studio,禁用计算机上的任何Anti-Virus或Anti-Spyware软件并清除%temp%文件夹。


祝你好运,


Joyce



I have a SharePoint app that I have been deploying to my SP Online tenant. When I opened VS a modal opened it prompted me for my credentials to connect to SharePoint like normal. However after I entered them, all of the content in the modal disappeared but the box will not dismiss. It will not finish connecting to SharePoint when I close the box. Building the project also prompts for creds which result in the same thing.

I have also tried creating a new project and the same thing happens when I enter my SP online info through that. Restarting VS or my computer didn't help, neither did uninstalling and reinstalling VS

解决方案

Hi,

Please attempt to reset Visual Studio to System Defaults (Please click Tools->Import and Export Settings->Reset All Settings) and repair your Visual Studio Installation.

Please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and run these commands:

                devenv /safemode

It prevents all third-party VSPackages from loading when Visual Studio starts, thus ensuring stable execution. if it works, this issue should be caused by the extensions and you need to remove the installed extensions under Tools—Extensions and Updates.

If it doesn’t work in safe mode, please have a try with delete or rename the following folders:

  • C:\Users\<your users name>\AppData\Local\Microsoft\VisualStudio\14.0
  • C:\Users\<your users name>\AppData\Roaming\Microsoft\VisualStudio\14.0

Meanwhile, run visual studio as administrator, disable any Anti-Virus or Anti-Spyware software on your computer and clean %temp% folder.

Best regards,

Joyce


这篇关于无法在Visual Studio 2015中完成连接到SharePoint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆