vbproj files won't update due to read-only locks
Moderator: SourceGear
vbproj files won't update due to read-only locks
For some reason .vbproj files are not auto-checking out when they are attempting to be edited. When we shared projects among various devs the .vbproj file updates for whatever reason, probably a change in the location on the hard drive of where this project is located or references, etc. We keep getting an error that the vbproj file can't be overwritten and a dialog to save it in a new location (i.e. it's read-only). I have to manually checkout the project to resolve the issue. I'm using the 4.0.5 VSIP client, again, it appears it's not auto-checking out project files.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
No, they are not checked out. As I mentioned, when this problem occurs I have to right-click, checkout the project and then it's fine. But when I do a Get Latest without first doing a checkout it errors as if it can't update the .vbproj file as it's not checking it out.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
Jeff,
I have a solution with say 1 exe and 9 class libraries. Another developer opens the solution which updates the .vbproj files due to references, etc. He's done, checks in. I open the solution and see the hourglass symbol meaning my project is out of date, I do a get latest, it fails to update the .vbproj file and gives me an error and then a dialog to save the .vbproj file to another location, a read-only lock situation. I instead do a checkout on the project and the problem goes away. The issue appears that during a get latest it's not checking out the .vbproj file when attempting to edit the file unless I manually check it out first, which obviously also does a get latest if I'm not mistaken.
I have a solution with say 1 exe and 9 class libraries. Another developer opens the solution which updates the .vbproj files due to references, etc. He's done, checks in. I open the solution and see the hourglass symbol meaning my project is out of date, I do a get latest, it fails to update the .vbproj file and gives me an error and then a dialog to save the .vbproj file to another location, a read-only lock situation. I instead do a checkout on the project and the problem goes away. The issue appears that during a get latest it's not checking out the .vbproj file when attempting to edit the file unless I manually check it out first, which obviously also does a get latest if I'm not mistaken.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
Neal:
Within the Vault GUI client, do you have the Concurrency Option to "Require Check Out before Check In" checked or unchecked?
If this option is not checked, then is it possible this solution was once bound to the VS 2003 Compatible client and the files were retrieved with that client, and then a switch was later made to the VSIP client?
Within the Vault GUI client, do you have the Concurrency Option to "Require Check Out before Check In" checked or unchecked?
If this option is not checked, then is it possible this solution was once bound to the VS 2003 Compatible client and the files were retrieved with that client, and then a switch was later made to the VSIP client?
Jeff Clausius
SourceGear
SourceGear
Jeff,
I'll have to check when I get back from DevConnections, but that setting sounds familiar.
I'll have to check when I get back from DevConnections, but that setting sounds familiar.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
I'm back Jeff, here is my a screen shot of my Vault GUI options per your question.
- Attachments
-
- VaultGUI.jpg (65.6 KiB) Viewed 7429 times
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
Jeff,
I didn't mess with the read-only attribute, instead I did a full checkout of the project to resolve the issue.
I didn't mess with the read-only attribute, instead I did a full checkout of the project to resolve the issue.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
Correct me if I'm wrong but the files are supposed to be set as READ ONLY on check-in?
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
Jeff,
The problem just happened again. I was working on my solution and realized I had an hourglass on one of the projects as one of my other devs opened their solution which updated the project refs in the .vbproj file. I checked everything in and then did a get latest and it asked to reload so I said yes to all. Everything looked good. I then went to close the solution and it asked to save the .vbproj file as it obviously updated as my computer has project locations on the D drive and my other dev uses the C drive. It would not allow the .vbproj file to be updated so I had to check it out, save, then check-in. The problem seems to be that when VS.NET updates a .vbproj file with project references it is NOT checking out the .vbproj file.
The problem just happened again. I was working on my solution and realized I had an hourglass on one of the projects as one of my other devs opened their solution which updated the project refs in the .vbproj file. I checked everything in and then did a get latest and it asked to reload so I said yes to all. Everything looked good. I then went to close the solution and it asked to save the .vbproj file as it obviously updated as my computer has project locations on the D drive and my other dev uses the C drive. It would not allow the .vbproj file to be updated so I had to check it out, save, then check-in. The problem seems to be that when VS.NET updates a .vbproj file with project references it is NOT checking out the .vbproj file.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com