Add reference from other web projects in solution

Last post 04-27-2005 11:44 AM by omar_k. 1 replies.

Sort Posts:

  • Add reference from other web projects in solution

    04-26-2005, 1:08 PM
    • Member
      292 point Member
    • sahina
    • Member since 12-11-2004, 4:04 PM
    • New Jersey
    • Posts 67
    I have a solution and this solution has two web applications. In one web application, I have web user controls such as Header, Footer, Loginform, etc and I want to be able to use them in my second application.

    In VS2003 I would just add a reference in my second application by pointing to the .dll assembly in the first application and add a register directive something like below to use that.

    <%@ Register Tagprefix="kapps" Namespace="KApps.Control" Assembly="KApps" %>

    But here is where I am confused...
    When I build my solution in VS2005,  I don't see and dll asseblies created in the bin folder. Where are is the assembly? Since I can't see them, how can I add them as references into my second application? (I added bin folder into the application hoping the dll would show up but of course that was silly)

    1. What is the right way to handle adding references?
    2. Where do the dlls go after building the project?

    thanks
  • Re: Add reference from other web projects in solution

    04-27-2005, 11:44 AM
    • Participant
      1,094 point Participant
    • omar_k
    • Member since 08-12-2002, 10:49 AM
    • Posts 213

    Hi Sahina,

    Are you using user controls or server controls?  In other words do you have an ASCX file representing the header/footer?

    If you are using server controls, you can simply move those class files into a class library project and reference it.

     

    Omar Khan
    Visual Web Developer Team
Page 1 of 1 (2 items)