简体   繁体   English

Visual Studio 2017解决方案资源管理器为空

[英]Visual Studio 2017 Solution Explorer is empty

When I open an existing VS2015 solution file in VS2017, Solution Explorer is empty. 当我在VS2017中打开现有的VS2015解决方案文件时,解决方案资源管理器为空。 I've tried to close and reopen Visual Studio several times, but the same thing happens every time. 我试图关闭并重新打开Visual Studio几次,但每次都会发生同样的事情。 How to fix this? 如何解决这个问题?

This should fix it: 这应该解决它:

  1. Close Visual Studio 关闭Visual Studio
  2. Open Developer Command Prompt for VS 2017 (from Windows start menu) 打开VS 2017的开发人员命令提示符 (从Windows开始菜单)
  3. Run devenv /updateconfiguration 运行devenv /updateconfiguration
  4. Reopen Visual Studio 重新打开Visual Studio

I'm experiencing the same issue. 我遇到了同样的问题。 VS goes through all the steps when loading a solution, including "Preparing Solution", but then the Solution Explorer just comes up empty. VS在加载解决方案时会执行所有步骤,包括“准备解决方案”,但解决方案资源管理器只是空白。 So far I haven't found a solution. 到目前为止,我还没有找到解决方案。 I tried deleting .suo files, and I tried cleaning the solution. 我尝试删除.suo文件,我尝试清理解决方案。

Like Eivind, I need to open the solution from the file menu. 像Eivind一样,我需要从文件菜单中打开解决方案。 Fortunately, that has always worked for me so far. 幸运的是,到目前为止,这一直对我有用。

I faced this type of issue when opening project on visual studio 2017. 我在2017年Visual Studio上开设项目时遇到了这类问题。

If you have connected with TFS and I believed that your connection has been lost. 如果您已与TFS连接,我相信您的连接已丢失。

Re-connect and close the project and then reopen using visual studio. 重新连接并关闭项目,然后使用visual studio重新打开。

Hope this will helpfull! 希望这会有所帮助!

On the Notification Area there is a message for Visual Studio 2017 updates. 在通知区域中,有一条消息显示Visual Studio 2017更新。 Click on that and this fixed my problem of empty Solution Explorer when u click on a 2015 sln file. 点击它,当你点击2015 sln文件时,这解决了我的空解决方案资源管理器的问题。

在此输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 解决方案资源管理器中的 Visual Studio 2017 锁定文件 - Visual Studio 2017 lock file in solution explorer Visual Studio 2017 按文件类型和字母顺序对解决方案资源管理器进行排序 - Visual Studio 2017 sort solution explorer by file type and alphabeticlly 如何禁用自动隐藏解决方案资源管理器(Visual Studio 2017) - How to disable auto hide the solution explorer (Visual Studio 2017) 无法在Visual Studio 2017解决方案资源管理器中编辑.csproj文件 - Can't edit .csproj file in visual studio 2017 solution explorer Visual Studio 2017为xamarin表单创建空解决方案 - Visual Studio 2017 creates empty solution for xamarin forms Visual Studio 2017中的新项目创建了空解决方案 - New Project in Visual Studio 2017 creates empty solution Visual Studio 2017不记得“在解决方案资源管理器中跟踪活动项”选项 - Visual Studio 2017 don't remember option “Track Active Item in Solution Explorer” 使用 Libman 安装的客户端库未显示在 Visual Studio 2017 的解决方案资源管理器中 - Client-side Library installed using Libman does not show in solution explorer of Visual Studio 2017 Visual Studio 2017解决方案资源管理器中文件旁边的蓝色光标图标-这是什么意思? - Blue cursor icon next to file in Visual Studio 2017 Solution Explorer - what does it mean? 使用团队资源管理器中的 Git 存储库将现有项目添加到 Visual Studio 2017 解决方案中的源代码管理 - Add existing project to source control in Visual Studio 2017 solution using Git repo in Team Explorer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM