Wrox Programmer Forums
|
.NET 4 and Visual Studio 2010 General Discussions For discussing anything about .NET 4, WPF, WCF, the rest of the .NET 4 Framework, and Visual Studio 2010 that isn't about a specific Wrox book. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET 4 and Visual Studio 2010 General Discussions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 22nd, 2013, 01:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default Referencing DLLs from TFS?

I have created a DLL which resides in a shared folder on our IIS server. When comsumed from this location, the DLL is automatically copied to the BIN folder of the consuming project. The DLL is eventually copied to the production location when the consuming project is published to the production server and everything works as expected. So, of course, it now has to be changed!

My manager doesn't want the DLL referenced from the shared folder on the IIS server. He thinks a project ought to be able to to reference a DLL from within the TFS Source Control folder associated with the project creating it. The issue has to do with restoring our IIS server in the case of some catastrophic event wiping out our entire server room; simply backing up the IIS server is evidently more painful than recompiling everything? Mine is not to wonder why...

So, I've included the DLL in the project creating it, checked it into TFS and the DLL now appears in the Source Control folder as expected. I tried browsing to the TFS source folder in the Add References dialog box, but it doesn't appear to recognize the path provided (\\tfs server name\collection name\source control folder\...\BIN\name.dll.) Nor can I seem to open the soruce control folder in Windows Explorer.

Any sites I've Googled suggest using a shared folder as I mentioned above, and do not even mention referencing DLLs within TFS. Does it seem likely the issue is that I simply haven't constructed the path correctly, a security problem (we do NOT manage the TFS server and probably do not currently have rights to access it outside of TFS), or is it just not possible to browse to a TFS source control file oustside of the Source Control Explorer (possibly because it's in some database and not in DOS?) IOW, is this even possible? If so, how?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Referencing DLLs from code Ron Howerton ASP.NET 4 General Discussion 6 October 28th, 2012 03:11 PM
TFS issue elwappo BOOK: Professional Team Foundation Server 2010 0 March 21st, 2012 01:51 PM
TFS as a version control System Bill_Thompson BOOK: Professional Team Foundation Server ISBN: 0-471-91930-6 0 December 16th, 2011 02:57 PM
Bug tracking and TFS? cyberjoe General .NET 0 March 28th, 2007 10:00 AM
How to implement continuous integration using TFS cyberjoe Visual Basic 2005 Basics 0 January 30th, 2007 03:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.