>. 가능한 Duplicate: >. [파일을 그룹화할 비주얼 스튜디오에서] (https://stackoverflow.com/questions/3617539/group-files-in-visual-studio)
텍스트 - 끝 - < 자동으로 삽입됨 >;!
문제는 내가 바라는 건 그룹화하려면 방식으로 부분 클래스 파일을 솔루션 탐색기, visual Studio 에 있는 [+] 모두 볼 수 있는 다른 것보다 내가 앞에서 파일_이름 확장하십시오 데프수드 파일.
하지만 내 클래스뿐만 서로 아래 2 행 나와 있습니다. (아래 참조)
> CustomerServiceDao.cs
> CustomerServiceDao.Query.cs
그 결과, I want to 경우 셈이에요.
+ CustomerServiceDao.cs
> CustomerServiceDao.Query.cs
나는 유지됩니까 명명 규칙을 따라야 할 수 있는 부분 파일 표시하기 위해 그룹화할?
Thx 사전에
Open your 경우 '으로' 이치프로이 텍스트 파일 (또는 선택됨을 " 언로드할 Project"; 나타나는 메뉴에서 솔루션 탐색기에서 프로젝트를 myproject.csproj" 편집하십시오 뒤에 ";) it 관련 솔루션 탐색기에서 파일을 변경할 수 있습니다 표시하십시오 스타일 프로파일링하려는.
조사 대상:
<Compile Include="CustomerServiceDao.cs" />
<Compile Include="CustomerServiceDao.Query.cs" />
및 편집하십시오 것으로 이:
<Compile Include="CustomerServiceDao.cs" />
<Compile Include="CustomerServiceDao.Query.cs">
<DependentUpon>CustomerServiceDao.cs</DependentUpon>
</Compile>
이 경우 '' 파일을 수동으로 변경하십시오 이치프로이 얻을 수 있습니다.
그냥 프로젝트 '대박' 이라고 언로드할 너회가 프로젝트를 마우스 오른쪽 단추로 클릭합니다.
여기에서 '대박' 이라고 project.치프로이 편집 및 마우스 오른쪽 단추로 클릭합니다.
'요소' 컴파일하십시오 찾습니다. 추가하기에서는 데페수투폰 다음과 같은 하위 요소 ''
<Compile Include="CustomerServiceDao.cs" />
<Compile Include="CustomerServiceDao.Query.cs">
<DependentUpon>CustomerServiceDao.cs</DependentUpon>
</Compile>