Results 1 to 4 of 4

Thread: [RESOLVED] Add dll to project for all developers?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2008
    Posts
    84

    Resolved [RESOLVED] Add dll to project for all developers?

    I am not sure if this is the correct place for this, but am using a custom control in a project that I want all the developers to have access to when they download the source.

    Should I just add it to the project like a normal file? If so how do I reference it in the project folder? The other developers project folders might have different paths than mine.

    Thanks.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Add dll to project for all developers?

    You should create a Dependencies folder under your project folder and put your DLL in there. That way it will be in the same relative location for everyone who works on the project. If you're using source control then that Dependencies folder would be included. If one person updates the project with a new version of that DLL then everyone else will get the updated version when they get the latest source code.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2008
    Posts
    84

    Re: Add dll to project for all developers?

    Thats easy enough. Is there any way to reference the DLL in that folder so each dev wont need to add a reference or copy that dll onto their system outside of the project folder.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Add dll to project for all developers?

    The Dependencies folder should be under the solution folder, so if everyone gets the solution from source control it will just work.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width