Managing referenced binaries -- where did they go?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
jessek
Posts: 13
Joined: Thu Mar 01, 2007 10:09 am

Managing referenced binaries -- where did they go?

Post by jessek » Sun Mar 04, 2007 10:02 am

OK, this one's got me stumped:

I have a VB.NET class library, "myUtils", which references the Microsoft Enterprise Library dll's. I open it from source control in VS, compile it, no problem.

Now I make a new solution -- a website. I use "add project from source control" to add myUtils to this website, then choose "add reference" -> "project" -> myUtils so my website can use the functions in myUtils.

I try to compile, but now VS can't find the Enterprise Library DLL's for myUtils. Where did they go?

I make another new solution -- a windows forms app. I add myUtils to the solution, try to compile, same problem. All my references to the Enterprise Library DLL's are lost.

Every project in my repository references these same Enterprise Library DLL's. I'd like to just have one copy of them in the repository, so that when a new version is available, I only have to update in one place -- but that's a nice-to-have, right now I'm just trying to get my stuff to compile.

Installing the dll's in the GAC is not an option.

What am I missing here?

Thanks!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed Mar 07, 2007 11:26 am

What version of Visual Studio are you using?

What happens if you reference the projects without any of them being in source control?

For example, assuming you have your VB.Net project on local disk, create a new solution and choose "add existing project" and include the VB.Net project from your local disk. Can you now compile?
Linda Bauer
SourceGear
Technical Support Manager

jessek
Posts: 13
Joined: Thu Mar 01, 2007 10:09 am

Post by jessek » Fri Mar 09, 2007 11:41 am

Visual Studio 2005 Standard.

The problem seems to be the solution files -- they're definitely not working the way I expected them to, they must be set up wrong.

When I check out a solution that has two projects, only one of the projects gets downloaded. So I have to go choose "Add Project From Source Control" to add the second one. Then I check the solution in, which you'd think would fix the problem -- but it doesn't.

Maybe that's related to the reason that the references to the binaries keep getting messed up?

tothm
Posts: 4
Joined: Tue Nov 21, 2006 2:05 am
Location: Vienna

Use the sources of the enterprise library and not the dll

Post by tothm » Tue Mar 13, 2007 2:14 am

We include all enterprise libraries as project into our solutions (the enterprise library projects are also source controlled)
Maybe that's an option.

Post Reply