Visual Studio 2015不显示项目文件夹内容

乔治·乔治

通过从安装文件修复VS2015进行修复。


我已经在Visual Studio 2015中添加了一个VS 2013项目。它可以按预期进行编译和运行,但是在Solution Explorer中我看不到文件夹的内容。

我尝试删除文件夹并再次添加它们,但是没有用。

有任何想法吗?我也将SourceTree用于该项目,但我认为这无关紧要。

[![在此处输入图片描述] [1]] [1]

[1]:http//i.stack.imgur.com/Bhm3B.png

编辑1:请注意,此问题发生在项目中的所有文件夹(资源,主题,源)

1.)文件存在并且在Windows资源管理器中可见

2.)再次删除和添加文件夹,或者新创建的文件夹中的单个文件不会改变情况。

3.)csproj的文件未在文件夹中显示:

     <ItemGroup>
    <ApplicationDefinition Include="App.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </ApplicationDefinition>
    <Compile Include="Sources\LoginViewModel.cs" />
    <Compile Include="Sources\RelayCommand.cs" />
    <Compile Include="Sources\ViewModel.cs" />
    <Compile Include="Login.xaml.cs">
      <DependentUpon>Login.xaml</DependentUpon>
    </Compile>
    <Compile Include="WrongPassword.xaml.cs">
      <DependentUpon>WrongPassword.xaml</DependentUpon>
    </Compile>
    <Page Include="MainWindow.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Compile Include="App.xaml.cs">
      <DependentUpon>App.xaml</DependentUpon>
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="MainWindow.xaml.cs">
      <DependentUpon>MainWindow.xaml</DependentUpon>
      <SubType>Code</SubType>
    </Compile>
    <Page Include="Resources\Icons.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Dark\MetroDark.MSControls.Core.Implicit.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Dark\MetroDark.MSControls.Toolkit.Implicit.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Dark\Styles.Shared.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Dark\Styles.WPF.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Dark\Theme.Colors.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Light\Metro.MSControls.Core.Implicit.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Light\Metro.MSControls.Toolkit.Implicit.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Light\Styles.Shared.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Light\Styles.WPF.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Themes\Metro\Light\Theme.Colors.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Login.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="WrongPassword.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
  </ItemGroup>
乔治·乔治

通过从安装文件修复VS2015进行修复。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Visual Studio项目文件夹约定

项目中的 Visual Studio 文件夹

Visual Studio显示所有文件不起作用-不显示某些文件夹和文件

Visual Studio 2015 Cordova从生成中排除文件夹

Visual Studio新项目缺少文件/文件夹

在Android Studio中不显示项目文件夹结构

Visual Studio将项目移到其他文件夹

在Visual Studio Code中打开多个项目/文件夹

Visual Studio解决方案资源管理器不显示文件和文件夹

Web项目中右键单击文件夹中Visual Studio 2015中的慢上下文菜单

Visual Studio 2015中的Aurelia项目设置和文件夹结构:wwwroot中有什么用?

VirtualBox上的共享文件夹未随Visual Studio 2015(网站项目)一起打开

本地窗口不显示任何内容;仅在 Visual Studio 2015 中的特定方法上发生

Visual Studio 2017 的 Projects 文件夹有项目名称文件夹和它的 sln 文件,但为什么它们不在它的常规项目文件夹中?

Visual Studio 2015的项目模板

.vs文件夹以在Visual Studio 2015中进行源代码管理?

如何在Visual Studio 2015中自动完成文件夹?

Visual Studio 2017/2019 无法完全打开项目文件夹的所有文件

在Visual Studio 2019项目中的文件夹中自动包含文件

Visual Studio Code找不到供应商文件夹(Laravel项目)中的文件

在Visual Studio 2017的Xamarin.Android项目中将可绘制文件夹替换为mipmap文件夹?

Visual Studio 2015不显示任何解决方案的调试源文件

Visual Studio 2015更新1不显示当前的Git分支

Visual Studio 2015不显示“错误列表”窗口

Visual Studio 2015 RC intellisense不显示参数列表

Visual Studio 2015更新2不显示通用Windows模板

模板 .Net Core 不显示 Visual Studio 2015

Visual Studio 2017中的Nuget安装会跳过名为“ Windows”的内容文件夹

是否可以在Visual Studio Code中的文件夹之前显示文件?