VS 2008 solution file get checked out automatically

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

Moderator: SourceGear

Post Reply
nalwi
Posts: 5
Joined: Sun Nov 16, 2008 4:19 pm

VS 2008 solution file get checked out automatically

Post by nalwi » Sun Nov 16, 2008 4:28 pm

I am using VS 2008 with vault enhanced client V 4.1.3 (18336). I 've got VS2008 solution with several projects under it.
Every time when I open the .sln file from VS2008 the .sln file get checkout. but no modications made by the client.
Any ideas what is causing this behavior?
Thanks!

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: VS 2008 solution file get checked out automatically

Post by ian_sg » Mon Nov 17, 2008 8:35 am

If you save the file and check it back in, does the behavior persist?
Ian Olsen
SourceGear

nalwi
Posts: 5
Joined: Sun Nov 16, 2008 4:19 pm

Re: VS 2008 solution file get checked out automatically

Post by nalwi » Mon Nov 17, 2008 4:35 pm

If save the solution file and checked back in it will not be checked out automatically. This issue (auto checkout of the .sln file ) only happens when I open the solution is VS2008 or when I double click the solution file to open in vs2008. We upgraded from previous vault with vs2005 to new vault version with vs2008.
we did not exprienced this issue with previous version.

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: VS 2008 solution file get checked out automatically

Post by ian_sg » Tue Nov 18, 2008 11:29 am

Did checking in the solution file make the problem go away for good, or just during that Visual Studio session?

Can you tell what in the solution file changed with this most recent checkin?
Ian Olsen
SourceGear

nalwi
Posts: 5
Joined: Sun Nov 16, 2008 4:19 pm

Re: VS 2008 solution file get checked out automatically

Post by nalwi » Tue Nov 18, 2008 4:44 pm

The checkin holds only for the current Visual Studio session. when you open vs2008 it always get checked out.
Nothing has changed in the .sln file between auto checkout and manual chekin.

nalwi
Posts: 5
Joined: Sun Nov 16, 2008 4:19 pm

Re: VS 2008 solution file get checked out automatically

Post by nalwi » Tue Nov 18, 2008 9:57 pm

I've attached a vs2008 solution here. This is a standard solution structure created by Microsoft Smart client software factory which is a
valid source safe folder structure. Hope this helps.
Attachments
SmartClientDevelopmentSolution1.zip
(1.22 MiB) Downloaded 194 times

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: VS 2008 solution file get checked out automatically

Post by ian_sg » Wed Nov 19, 2008 9:27 am

I was able to duplicate the behavior you describe. I'll be back when I know more.
Ian Olsen
SourceGear

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: VS 2008 solution file get checked out automatically

Post by ian_sg » Thu Nov 20, 2008 9:26 am

We've determined that it's the ExtensibilityGlobals section of the solution file that causes this behavior. In the sample solution you sent us, it was this:

Code: Select all

GlobalSection(ExtensibilityGlobals) = postSolution
  ShellProjectGuid = 98be037a-2567-485b-abc0-699f3844fd17
  CommonProjectGuid = 905911a8-840f-423b-a589-8fb949eed9b1
  RootNamespace = SmartClientDevelopmentSolution1
 EndGlobalSection
When a solution includes this section, Visual Studio tells us it wants to edit the solution file, and we dutifully check it out. I've confirmed that MSSCCI clients (VSS or Vault), however, do not exhibit this behavior. We're working with Microsoft to determine how the MSSCCI code knows to ignore this edit request, as it doesn't appear special in any way.
Ian Olsen
SourceGear

nalwi
Posts: 5
Joined: Sun Nov 16, 2008 4:19 pm

Re: VS 2008 solution file get checked out automatically

Post by nalwi » Tue Nov 25, 2008 4:58 pm

This section in the .sln file is mandatory for smart cleint reciepts to work within vs2008.So we cannot remove it.
Please let me know when you worked out a fix for this issue.
Thanks!

JustinAtAspen
Posts: 5
Joined: Tue Feb 03, 2009 9:44 am

Re: VS 2008 solution file get checked out automatically

Post by JustinAtAspen » Tue Feb 03, 2009 9:45 am

Has anyone found a solution for this problem?

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

Re: VS 2008 solution file get checked out automatically

Post by lbauer » Tue Feb 03, 2009 2:13 pm

We don't have a solution as yet, but this issue is slated to be fixed in Vault 5.0, due out later this year. It is logged as bug 13813.

This is a problem for you in the meantime, you could try using the Vault Classic Client integration. You would need to unbind it and and rebind it with the Classic Client to do this.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply