Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8701615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:26:37+00:00 2026-06-13T02:26:37+00:00

How can I make a solution in visual studio so that the .dll dependencies

  • 0

How can I make a solution in visual studio so that the .dll dependencies that reside in some other directory totally different from where the solution itself is affected by “get latest”.

What I’ve tried is creating a Dependencies solution folder within the solution itself and added the dlls to it, that way they belong to the solution even though they don’t belong to the directory structure of the solution.

So for example the .sln file is in:

D:\tfs\repository\main\SolutionA\solution.sln

and the dlls are in:

d:\tfs\repository\main\SolutionX\Dependencies\Binaries

What I really want to achieve is to have a foolproof way to build the solution, including the following scenario:

1- Have a brand new installation of windows, visual studio, etc.
2- open visual studio
3- find solution.sln on TFS, double click on it so that visual studio gets every project and files in the solution, and opens the solution
4- successfully build

What happens when I try the Dependencies solution folder approach and repeat the scenario above, it will get all the projects within the solution, opens it, but the dependencies solution contents won’t be pulled from TFS (although Visual Studio shows them on Solution explorer), which I think is flawed.

Some suggestions that don’t involve creating pre/post build scripts are appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:26:38+00:00Added an answer on June 13, 2026 at 2:26 am

    When you attempt to open a solution for the first time using the TFS Source Control Explorer, you may find that not all of your dependencies will be retrieved – the squiggly line may be highlighting some of your missing References.

    One work around is to…

    SOLUTION SETUP

    1. Checkout all of your source code from TFS (i.e. Main and all of the sub-directories)
    2. Open your solution in Visual Studio (i.e. MyApplication.sln)
    3. In the solution explorer, create a New Solution Folder called ThirdPartyDll, and then add the appropriate assembly references (i.e. Assembly1.dll, Assembly2.dll,…)
    4. Check-in your solution to TFS

    SAMPLE FILE STRUCTURE

    • Main
      • MyApplication.sln
      • Source
        • MyProjectA
          • MyProjectA.csproj
        • MyProjectB
          • MyProjectB.csproj
      • Dependencies
        • Assembly1.dll
        • Assembly2.dll
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Visual Studio 2010 solution that contains C# (managed), C++/CLI (unmanaged) and
I'm working on a solution in Visual Studio 2010 Ultimate that contains two C#
I have a main visual studio solution and other solution.(VS 2008) I want to
I am developing a solution in Visual Studio 2010 that has a WCF RESTful
We have a Visual Studio 2010 solution that contains several C# projects in accordance
How can make a link within a facebox window that redirects it to another
I can make a variable's name from two variables' value: $a = 'tea'; $b
I can make a log in for easily, so that's not the problem. What
Visual Studio ate my toolbar, I opened a solution for a project I've been
I made an application in C# Visual Studio 2010 that generates reports about the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.