예, 하지만 약간의 번거 로움 - 기본적으로 손으로 프로젝트 파일을 편집해야합니다.
가 여기에 프로젝트의 예입니다 그 마크 Gravell와 나는 일에 :
<Compile Include="Linq\Extensions\DataProducerExt.cs" />
<Compile Include="Linq\Extensions\DataProducerExt.SingleReturn.cs">
<DependentUpon>DataProducerExt.cs</DependentUpon>
</Compile>
<Compile Include="Linq\Extensions\DataProducerExt.Grouping.cs">
<DependentUpon>DataProducerExt.cs</DependentUpon>
</Compile>
<Compile Include="Linq\Extensions\DataProducerExt.Pipeline.cs">
<DependentUpon>DataProducerExt.cs</DependentUpon>
</Compile>
<Compile Include="Linq\Extensions\DataProducerExt.Conversion.cs">
<DependentUpon>DataProducerExt.cs</DependentUpon>
</Compile>
<Compile Include="Linq\Extensions\DataProducerExt.Math.cs">
<DependentUpon>DataProducerExt.cs</DependentUpon>
</Compile>
주 의존성의 각에서 "DependentUpon"요소입니다. VS에서 DataProducerExt.cs를 부모로 적절하게 표시합니다.
FileNesting 확장은 자동으로 그렇게 할 수 있습니다 : https://marketplace.visualstudio.com/items?itemName=MadsKristensen.FileNesting – John