그냥에서 <DependentUpon />
태그를 추가 나는이 시각적 인 효과를 얻을 수있는 방법을 말해 줄 수 귀하의 csproj 파일.
<Compile Include="file1.cs" />
<Compile Include="file1.data.cs">
<DependentUpon>file1.cs</DependentUpon>
</Compile>
<Compile Include="file1.commands.cs">
<DependentUpon>file1.cs</DependentUpon>
</Compile>
<Compile Include="file1. bindings.cs">
<DependentUpon>file1.cs</DependentUpon>
</Compile>
확장 프로그램을 설치하지 않으면 visual-studio에서 바로 가기를 수행 할 수 있다고 생각하지 않습니다. 텍스트 편집기에서 csproj를 수동으로 편집해야합니다. 또한, 아직 Mac 용 VS에서 사용할 수있는 플러그인이 없다고 생각합니다.
참고 : - 차례를 위해 VS와 호환되어야합니다 MonoDevelop 사용할 수있는 nesting add-in (베타)가 같은
- Nesting Files In Visual Studio
- Introducing File Nestor for Visual Studio
EDIT 1 은 같은데 맥.
출처
2017-09-29 13:29:33
Ada