c# - 当我在 Visual Studio 中创建 .net core 项目时,我没有获得 TreeView

标签 c# visual-studio .net-core visual-studio-code

当我在 Visual Studio 中创建 .net core 项目时,我没有获得 TreeView 。之前我在 Visual Studio Code 中创建了 .net core。现在在 Visual Studio 中,项目结构就像我在 VS Code 中得到的一样。 我得到的文件夹结构如下图所示。

enter image description here

切换顶部的文件夹图标后,我得到的结构如下图所示 enter image description here

我有 .net core SDK 版本 2.1 和 Visual studio 2017 我所拥有的不支持它。只是我更新了 Visual studio 2017 它对我有用。

最佳答案

您已在解决方案资源管理器中选择了目录 View 。单击此按钮可在解决方案 View 和目录 View 之间切换。

enter image description here

关于c# - 当我在 Visual Studio 中创建 .net core 项目时,我没有获得 TreeView ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56536488/

相关文章:

.net - 如何在 VSTS 中构建 .net core 和完整的 .net 项目

c# - Xamarin Forms ListView 复选标记

c++ - Visual C++ 2008 - 无法命中断点

c# - 不用 Crystal 报表设计器创建rpt文件

visual-studio - 如何使用 nuget.exe 命令行获取特定 Visual Studio 解决方案的包列表

asp.net-mvc - IdentityServer4 用户管理与单独的 MVC 客户端 (AspNetIdentity)

c# - 如何获取控件/ View 或页面未清理的 xaml?

C# - 当方法参数验证失败时,我应该踢回异常吗?

c# - 将文件复制到 SharePoint 中的文档库

c# - Linux 中的 .net 核心 - 构建 C#