Same project in multiple solutions - changes in one not detected in other
I have a problem with two VS 2005/SP1 solutions that share a project. All code is in VSS 6.04d and they are VB projects. One solution has a Windows Forms project and a Class Library project. The other solution is setup/deployment for the first solution. If I have both solutions open and make a source change in one solution and then switch to the other solution, I expect to see a dialog asking me to reload the source file from disk. That's what I want to happen (and in other shared project situations that does occur). But in this case the second solution is unaware of the change and I end up having to check in the source from the first project for the second project to get the changes.
Thanks in advance for your suggestions.
-John
[759 byte] By [
JohnnieK] at [2007-12-29]
Here's what our layout in VSS looks like. We use the same structure on our hard drives, where "C:\VSS" is the root directory of our source that maps to "$" in VSS. There is only one copy of the source for each item source controled.
$
/Solution1
/DLLProject1
/EXEProject 1
/Solution2
/DLLProject2
/EXEProject2
/Solution3
/DLLProject3
/EXEProject3
/CommonDLL
MyClass.vb
Solution1, Solution2 and Solution3 all include the CommonDLL project. DLLProject1, DLLProject2 and DLLProject3 all have project references to CommonDLL. Let's say that I have all 3 solutions open. In Solution1 I check out MyClass.vb and make a change. I then switch to Solution2 and a dialog appears: "Do you want to reload changes to MyClass.vb?" I say Yes and all is well. But when I switch to Solution3 I am not prompted about reloading and my change is not visible in the source window.
I hope this gives you the info you requested. Let me know if I need to explain further.