SVN의 여러 프로젝트가있는 Visual Studio 솔루션 저장
-
03-07-2019 - |
문제
Repo에 여러 프로젝트가 포함 된 Visual Studio 솔루션을 추가하는 데 어려움을 겪고 있습니다. 나는 VisualSVN을 사용하고 있습니다. 내 디렉토리 구조는 다음과 같습니다
c:\-----
|
---Projects
|
--MyApp
|
---Project1 (The solution is in this project directory)
---Project2
---Project3
"MyApp"을 작동 사본 루트로 선택하면 아무것도 추가되지 않습니다. 프로젝트 폴더 중 하나를 선택하면 2 만 추가됩니다.
해결책
Here's the structure I use with success:
dev
|- Project root folder (solution file here is the key)
|- Class Project
|- Class Project
|- Web Project
|- References
|- Resources
What I'm suggesting is that you should move your .sln file to the top level then import.
다른 팁
Another advance approach. Each project has it is own trunk with following structure
trunk
|- .sln
|- src
|- ClassProject
|- Web Project
Then in a separate svn directory create sub directory for every solution you need. For example you can have AllProjects, WebOnly, DALOnly. And using svn:externals bring every project you need (ClassProject etc.) in given case.
제휴하지 않습니다 StackOverflow