Add my project and Sub project to separate solution

Answered Add my project and Sub project to separate solution

  • 2012년 4월 2일 월요일 오전 6:29
     
     

    hello,

    i have a team working on ASP.NET project. There are project and sub projects.

    Folder structure of this project :

    MainAPP

    ............SubProject1

                 WebPage1.aspx

    ............SubProject2

                WebPage2.aspx

    ............SubProject3

                WebPage3.aspx

    MastePage.master

    Web.config

    Login.aspx

    Right now we are working depend on project that we have and not using Visual Team Foundation Server.

    for example, User A only open project MainApp, User B open SubProject1, User C open SubProject2.

    How to change this structure using Visual Team foundation Server. I want to make each project one solution, so user can open based project solution they have. I have try but cannot, because may be it still consider one project by Team foundation.

    Thanks for Any help .

모든 응답

  • 2012년 4월 2일 월요일 오전 7:31
     
     

    How about creating 3 separate solutions, adding the corresponding projects and then adding them to TFS?

    Regards,

    Catherine Sea
    Version Control Software | TFS Hosting Service

  • 2012년 4월 2일 월요일 오전 7:37
     
     

    I have already try it, but still cannot.

    for example i create 3 separate solution. solution A, B and C.

    I open My Project and I add MainApp to solution A. Next I open SubProject1 and add to Solution, but cannot choose solution, automatically add to solution A.

    So useless create 3 separate solution.


    Leo

  • 2012년 4월 3일 화요일 오전 9:58
    중재자
     
     

    Hi Leo, 

    Thanks for your post.

    For this scenario, I think you should create 3 solutions and add your corresponding projects into these 3 solutions locally first, then we can add these 3 solutions from locally into TFS Source Control.

    For how to decomposition your ASP.NET project into 3 solutions, I suggest you contact ASP.NET experts for the better response.   


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us

  • 2012년 4월 3일 화요일 오전 10:22
     
     답변됨

    Hi Leo,

    Yes. Please create 3 separate solutions like this:

    1. Create Solution A.

    2. Right-click the solution file in Solution Explorer, click Add->Existing project and choose the project file of MainApp.

    3. Create Solution B and C and add the corresponding project.

    Please let me know if it works for you.

    Catherine Sea
    Version Control Software | TFS Hosting Service