reusing a class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • powerranger

    reusing a class

    I have a class that built. I'd like to use it for every project that
    I will be building in the future. Is there another way to reference
    that class without physically add that class to my solution? If so,
    where do put (directory) that class? Thanks.
  • Peter Morris

    #2
    Re: reusing a class

    1) Create a solution
    2) Add a project to it which contains only your class and compile it
    3) Add your web project to it
    4) Add the class's project to the Requires list of your web app.


    --
    Pete
    ====
    Audio compression components, DIB graphics controls, FastStrings


    Read or write articles on just about anything



    Comment

    • Andy Fish

      #3
      Re: reusing a class

      ....or just build the DLL and then add the DLL as a reference to any project
      where you want to use it

      "Peter Morris" <pete@removethi sbit.droopyeyes .com> wrote in message
      news:%23KBox$7f EHA.2536@TK2MSF TNGP09.phx.gbl. ..[color=blue]
      > 1) Create a solution
      > 2) Add a project to it which contains only your class and compile it
      > 3) Add your web project to it
      > 4) Add the class's project to the Requires list of your web app.
      >
      >
      > --
      > Pete
      > ====
      > Audio compression components, DIB graphics controls, FastStrings
      > http://www.droopyeyes.com
      >
      > Read or write articles on just about anything
      > http://www.HowToDoThings.com
      >
      >[/color]


      Comment

      Working...