Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Managing DLLs with VS 2010 and TFS

Posted on 2013-01-25
2
Medium Priority
?
339 Views
Last Modified: 2013-02-01
We are in the process of migrating our classic ASP applications to ASP.NET.  We are using VS 2010 with TFS.  We have 3 servers all running Windows Server 2008 R2 Standard.  One server is for Development, one is for UAT and the last one is for Production.

I started creating DLLs to handle common processing among our applications.  For example I created a DLL to handle the Encryption/Decryption of our data.  With the first ASP.NET application which was not done under TFS, I copied the DLL into the Bin folder of the application in order to reference it.  This is an inefficient way of doing things so what I want to do is have my VS projects reference the DLLs on the Production Server so that each project is using the latest version of the DLL.  If the DLL changes then it only has to be updated in one place rather than copied to the Bin folder of all projects that reference it.

My question is what is the best way to do this?  Our servers are setup to have the websites on the D: drive.

1. Do I put the DLLs in a common folder on the D: drive under the websites folder?
2. Do I put the DLLs in a common folder on the D: drive outside of the websites folder?
3. Do I put them somewhere else completely?
4. How do I reference them in my VS project so that each developer doesn't have to keep a local copy of the DLL on their machine?

Any help with this is greatly appreciated in that we are just setting up these servers now so we have greater flexibility at this point.
0
Comment
Question by:dyarosh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
binaryevo earned 2000 total points
ID: 38821963
Dll management can be tricky.  The way we do it is so all our developers have access to the same dlls both our own internally developed and 3rd party.  We have our dll projects as actual projects in TFS.  The dlls project allows us to place all new versions of the dlls in there.  When we pull down all the projects, we all map them locally to the same structure (ie: c:\projects ) and then in whatever app we create we just add a reference to the dlls project folders in our local project structure and lib we nees.  What does that do for you?  Well it creates an easily integrated developer collaboration & coding environment.  While I don't think this is necessarily the best way, it is a way and works well for our specific context.

Hope this helps
0
 

Author Closing Comment

by:dyarosh
ID: 38844896
We reviewed your approach and it looks like we are going to use the same.  Thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question