How to add reference between various Projects in a Solution

잠김 How to add reference between various Projects in a Solution

  • Wednesday, April 11, 2012 2:45 PM
     
     

    I am starting a system in C # Asp.NET MvC3 and created the following Projects in theSolution:

    - Class Library: All classes in the project
    - Asp.net Web Application: Web Project Files
    - Modeling Project: UML class diagram, and in general
    - Test Project: TDD system web

    I believe in using the Class Library since there is possibility of having a future version of Windows Forms. Thus reaproveito classes.

    My question as to cite the various projects in the same solução.Vi a tutorial that I must click on a project and add the reference of the other ("Add Reference").

    I click on that project and add the reference of any other? I did not like this should be binding.

    Can anyone tell me which project should reference what other?

    Thanks,

    Eduardo




    Grato, Eduardo Alexandre Gula

All Replies

  • Thursday, April 12, 2012 9:01 AM
    Moderator
     
     Answered

    Hi Eduardo,

    Do you want to hybrid these project
    It seems like that he want to hybrid these project. I yes, please refer to this article: http://www.hanselman.com/blog/PlugInHybridsASPNETWebFormsAndASPMVCAndASPNETDynamicDataSideBySide.aspx 
    Quote :
    “It tells about how ASP.NET WebForms, MVC and Dynamic Data all fit together. 
    Folks may have WebForms applications and want to start looking at ASP.NET MVC but aren't sure if they need to start from scratch or not. Folks might look at Dynamic Data but mistakenly assume it's just for scaffolding administrative sites.
    When you're in Visual Studio and you hit "File | New Project" you're given a number of choices. This is a starting point, but it easy to assume that this point is a fork in the road and you can mix them up.”
    If you still have any further concern about this issue, please write a new post to ASP.NET MVC forum http://forums.asp.net/1146.aspx for a better support.

    This response contains links reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us


  • Thursday, April 12, 2012 9:27 AM
     
     
  • Thursday, April 12, 2012 12:13 PM
     
     

    Thanks a lot for your comments!

    Eduardo


    Grato, Eduardo Alexandre Gula