Project References

Last post 01-31-2008 3:19 AM by rjcox. 4 replies.

Sort Posts:

  • Project References

    01-21-2008, 3:05 PM
    • Member
      7 point Member
    • frost
    • Member since 02-02-2006, 5:24 PM
    • Posts 89

    Hi,

     We have some odd behavior in our web application.  We are using vs 2008 with vss 2005, there are 3 people working on the project at any given time.  The problem is with some of the references in our project.  When one of the developers adds the reference, and saves the project then checks it in and the next developer gets the latest version from source safe that reference now fails in their project.  The location of the reference is in the exact same place on their pc.

     How can we stop this from happening?

     thanks.

  • Re: Project References

    01-26-2008, 10:31 AM

    Instead of adding a "reference" navigate to the .dll and add it to the bin in your project source safe.

    Shawn

    Please click on 'Mark as Answer' if this post answered your question!
  • Re: Project References

    01-28-2008, 5:36 PM
    • Member
      7 point Member
    • frost
    • Member since 02-02-2006, 5:24 PM
    • Posts 89

    I currently don't include the bin folder as part of the project build, as such it doesn't get written to source safe either.  I'll give your suggestion a try and see how it goes.

     thanks!
     

  • Re: Project References

    01-30-2008, 3:58 PM
    • All-Star
      20,998 point All-Star
    • Jeev
    • Member since 11-24-2005, 12:49 PM
    • Posts 3,163

    Well frost if the added reference  is to a GAC installed dll and all the users have the same dll installed in the GAC then it should be fine. Else you can use the approach shawn mentioned or else add the referenced dll to a common location say a file share and all the users can add the reference to that common location

    Jeev
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If you get the answer to your question, please mark it as the answer.
  • Re: Project References

    01-31-2008, 3:19 AM
    • Contributor
      7,054 point Contributor
    • rjcox
    • Member since 12-19-2007, 9:14 AM
    • Basingstoke, UK
    • Posts 1,444

    frost:
    I currently don't include the bin folder as part of the project build, as such it doesn't get written to source safe either.  I'll give your suggestion a try and see how it goes.
     

    An alternative to included the bin folder is to create an "ExternalComponents" folder (sibling or similar to your solution's folder). Place all external dependencies that are not part of the solution and not part of the core platform (i.e. .NET / Windows) here. Projects then reference into that folder.

    When you outgrow VSS to something better, you can looking at branching of External Dependencies along with your solutions when you release to allow new development work on newer versions of those components (while support continues with what you released). 

    Richard
Page 1 of 1 (5 items)