Yes, we know that closing a file is not an exclude. But Vault VS Integration seems to work so.
I try to explain our Scenario and the Problems we have.
Our Repository contains many Visual Studio Solutions in different Folders.
- Repository Structure
- Repository Structure.jpg (26.37 KiB) Viewed 16737 times
For every Main-Solution we have an Workspace Folder which contains the SLN-File. For Example under $\Aktuell\Shared\Workspace\Shared.sln. All Projects from this Solution are in $\Aktuell\Shared\Src\<ProjectName>. Here are also the sources (cpp, h,..).
Now when working with this Solution the pending Change set Looks like this:
- Pending Changs Set - "Before working"
- Pending Change Set - Before Working.png (6.14 KiB) Viewed 16737 times
After open a cpp from another Solution from this repository (for ex. $\Aktuell\SharedOut\Src\mbOut\BSAttributes.cpp) all looks good. But when i want to Close this file i get the following Dialog:
- Closing File from another solution under Source Control
- Files Removed from Project.png (17.91 KiB) Viewed 16737 times
I only want to Close this file. It is
not removed from Project, because it isn't part of any Project of the current solution!
After another Open - Close File i found this in Vault Client:
- Open - Close File
- Open Close File.png (16.59 KiB) Viewed 16737 times
At this time the File (Ausgabe2DStuetzeBem.cpp) locally is deleted and Undoing don't bring it back.