The VS 2008 assembly reference problem
I’m not sure if anyone has noticed this, but VS 2008 won’t be able to get to an assembly stored in a UNC shared folder after it’s been opened for some time. Let me give more info on this…
We’ve set up a UNC shared folder which has several assemblies which are shared by all our projects (it includes internal and external – ex.: NHibernate.dll – assemblies and we’ve set it up because it ensures that all the projects will always build against the latest dependent assembly).
When you load a solution in VS, it compiles ok…the problems happen when you leave VS open for a long time without building. For instance, I’ve left it open with solution X two days ago and today it simply wouldn’t compile the damn thing and it kept saying it couldn’t access the UNC shared folder (when I tried to add the assembly again through the add reference dialog). I had to close all VS 2008 instances in order to solve this problem (yep, just opening a new VS instance still gave me the same message).
has anyone faced this problem? can we do anything to solve it (without closing and reopening all VS instances)?