locked
SCC API - Open From Source Control gives error at end: "The project you have chosen cannot be correctly opened..." RRS feed

  • Question

  • I am implementing Version 1.2 of the SCC API and have completed implementing all of the necessary functions.  I can successfully create a new project/solution and add that solution successfully to my source control system.

     

    Then, attempting to "Open From Source Control", all the files in the requested solution are retrieved successfully from the server, the solution explorer source control status is correct, but at the very end I get this message:

     

    "The project you have chosen cannot be correctly opened from source control.

    You are attempting to open a solution or project that was not added to source control using Microsoft Visual Studio. Microsoft Visual Studio supports opening solutions from source control only when they are added (or bound) using Microsoft Visual Studio.
    The user who initially added the solution must use the Change Source Control command to bind the solution to source control in its current location."

     

    Can someone please tell me what this message means, and what the IDE senses is wrong so I can fix it in my API implementation?

     

    Thanks for any help!!

    Wednesday, June 27, 2007 7:14 PM

Answers

  • Sorry, Alin, I inadvertantly posted the wrong log for "Add to Source Control".

     

    I found the problem by attaching a trace to Visual Source Safe and comparing the output to my version and found two problems:

    1) During the SccPopulateList function, I was returning only the sln and *proj files, not the associated vssscc and vspscc files.  I corrected that.

    2) I was incorrectly setting the status of checked out files (using SCC_STATUS_PINNED in addition to the correct source controlled value of 1.)

     

    Once I fixed these two problems, the error message went away.

     

    Note: I edited the log above to show the log I was receiving BEFORE I fixed the problem. 

     

    Tuesday, July 17, 2007 4:25 PM

All replies

  • Hello,

     

    Before we tackle the Open from Source Control issue, could you do some quick testing so we can see if the solution is correctly put under source control using your system?  When you add your solution to source control, can you perform normal SCC operations on the project itself, like adding files to a project and checking them in, or checking out the solution and being able to see everything under the solution have been recursively checked out?  Which versions of Visual Studio are using to access your source control provider?

     

    Thanks,

    Steve

    Thursday, June 28, 2007 1:06 AM
    Moderator
  • Hi Steve,

    Yes, From a server perspective, the solution is correctly put under source control in my system. 

     

    However, If I select the Solution file, and click check out, only the project items (not the project or solution) are displayed in the check out window, not the solution or the Project.  If I select the Project file, again, only the project items are displayed, not the Project itself. 

     

    This happens only for a Solution I've checked out using "Open From Source Control".  Solutions I have created myself and placed under source control using "Add To Source Control" allow me to check in and check out the Project and Solution themselves and all other operations work perfectly.

     

    This is using VS2003.NET.

     

    Using VS2005, the interface WILL allow me to check out the project and solution Recursively including Project and Solution files, and operate as normal, so the solution *seems* intact.

     

    I appreciate any help.  I've appended a log file below...

    Thursday, June 28, 2007 1:21 PM
  • Here is a log from "Add to Source Control" generated using VS 2005 with a new C++ project I had just created.  Note that I changed the aux path strings to say "CorrectSourceControlLocation" for privacy issues:

     

    DLL: attach

     

    Active thread 112

    IN:  SccGetVersion

    OUT: SccGetVersion version 10002

     

    Active thread 112

    IN:  SccInitialize (window 20816,caller name VsScc)

    OUT: SccInitialize : 0 'SCC_OK' (context='37F6CD0',scc name='DesignSync',caps='-608110851',aux path label='',co comment len='0',comment len='1024')

     

    Active thread 112

    IN:  SccSetOption (context 37F6CD0,option 6 'SCC_OPT_SHARESUBPROJ',value 1)

    OUT: SccSetOption : 0 'SCC_OK'

     

    Active thread 112

    IN:  SccSetOption (context 37F6CD0,option 4 'SCC_OPT_NAMECHANGEPFN',value 3EF64C5)

    OUT: SccSetOption : 0 'SCC_OK'

     

    Active thread 112

    IN:  SccGetProjPath (context 37F6CD0,window 20816,user duser,project July06,local path E:\2003-sourcecontrol\Projects\July06,aux path , allow change path 0)

    OUT: SccGetProjPath : 0 'SCC_OK' (user='duser',project='July06',local path='E:\2003-sourcecontrol\Projects\July06',aux path='CorrectSourceControlLocation',new='1')

     

    Active thread 112

    IN:  SccOpenProject (context 37F6CD0,window 20816,user duser,project July06,local path E:\2003-sourcecontrol\Projects\July06,aux path CorrectSourceControlLocation,comment ,callback 3DCB689,flags 1)

    OUT: SccOpenProject : 0 'SCC_OK' (user='duser',project='July06',aux path='CorrectSourceControlLocation',callback='3DCB689')

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 1)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.sln

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=0

     

    Active thread 112

    IN:  SccInitialize (window 20816,caller name VsScc)

    OUT: SccInitialize : 0 'SCC_OK' (context='37F9190',scc name='DesignSync',caps='-608110851',aux path label='',co comment len='0',comment len='1024')

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 2)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.vssscc

                [0002]=E:\2003-sourcecontrol\Projects\July06\July06.sln

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=0

                [0002]=0

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 5)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj

                [0002]=e:\2003-sourcecontrol\Projects\July06\ReadMe.txt

                [0003]=e:\2003-sourcecontrol\Projects\July06\stdafx.cpp

                [0004]=e:\2003-sourcecontrol\Projects\July06\stdafx.h

                [0005]=e:\2003-sourcecontrol\Projects\July06\July06.cpp

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=0

                [0002]=0

                [0003]=0

                [0004]=0

                [0005]=0

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 5)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj

                [0002]=e:\2003-sourcecontrol\Projects\July06\ReadMe.txt

                [0003]=e:\2003-sourcecontrol\Projects\July06\stdafx.cpp

                [0004]=e:\2003-sourcecontrol\Projects\July06\stdafx.h

                [0005]=e:\2003-sourcecontrol\Projects\July06\July06.cpp

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=0

                [0002]=0

                [0003]=0

                [0004]=0

                [0005]=0

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 6)

                [0001]=e:\2003-sourcecontrol\Projects\July06\ReadMe.txt

                [0002]=e:\2003-sourcecontrol\Projects\July06\stdafx.cpp

                [0003]=e:\2003-sourcecontrol\Projects\July06\stdafx.h

                [0004]=e:\2003-sourcecontrol\Projects\July06\July06.cpp

                [0005]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj.vspscc

                [0006]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=0

                [0002]=0

                [0003]=0

                [0004]=0

                [0005]=0

                [0006]=0

     

    Active thread 112

    IN:  SccWillCreateSccFile (context 37F6CD0,files num 1,...)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj

    OUT: SccWillCreateSccFile : 0 'SCC_OK' (bSccFiles='0')

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 1)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.vsscc

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=0

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 1)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.sln

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=0

     

    Active thread 112

    IN:  SccWillCreateSccFile (context 37F6CD0,files num 1,...)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.sln

    OUT: SccWillCreateSccFile : 0 'SCC_OK' (bSccFiles='0')

     

    Active thread 112

    IN:  SccIsMultiCheckoutEnabled (context 37F6CD0)

    OUT: SccIsMultiCheckoutEnabled : 0 'SCC_OK' (bMultiCheckout='0')

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 1)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=0

     

    Active thread 112

    IN:  SccDiff (context 37F6CD0,window 20816,file name E:\2003-sourcecontrol\Projects\July06\July06.sln,flags 32,options=0)

    OUT: SccDiff : -11 'SCC_E_FILENOTCONTROLLED'

     

    Active thread 112

    IN:  SccDiff (context 37F6CD0,window 20816,file name E:\2003-sourcecontrol\Projects\July06\July06.vssscc,flags 32,options=0)

    OUT: SccDiff : -11 'SCC_E_FILENOTCONTROLLED'

     

    Active thread 112

    IN:  SccDiff (context 37F6CD0,window 20816,file name E:\2003-sourcecontrol\Projects\July06\July06.vcproj,flags 32,options=0)

    OUT: SccDiff : -11 'SCC_E_FILENOTCONTROLLED'

     

    Active thread 112

    IN:  SccDiff (context 37F6CD0,window 20816,file name e:\2003-sourcecontrol\Projects\July06\July06.cpp,flags 32,options=0)

    OUT: SccDiff : -11 'SCC_E_FILENOTCONTROLLED'

     

    Active thread 112

    IN:  SccDiff (context 37F6CD0,window 20816,file name E:\2003-sourcecontrol\Projects\July06\July06.vcproj.vspscc,flags 32,options=0)

    OUT: SccDiff : -11 'SCC_E_FILENOTCONTROLLED'

     

    Active thread 112

    IN:  SccAdd (context 37F6CD0,window 20816,file num 8,comment ,flags 0,options=0)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.vssscc

                [0002]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj

                [0003]=e:\2003-sourcecontrol\Projects\July06\ReadMe.txt

                [0004]=e:\2003-sourcecontrol\Projects\July06\stdafx.cpp

                [0005]=e:\2003-sourcecontrol\Projects\July06\stdafx.h

                [0006]=e:\2003-sourcecontrol\Projects\July06\July06.cpp

                [0007]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj.vspscc

                [0008]=E:\2003-sourcecontrol\Projects\July06\July06.sln

    OUT: SccAdd : 0 'SCC_OK' (flags='0')

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 8)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.vssscc

                [0002]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj

                [0003]=e:\2003-sourcecontrol\Projects\July06\ReadMe.txt

                [0004]=e:\2003-sourcecontrol\Projects\July06\stdafx.cpp

                [0005]=e:\2003-sourcecontrol\Projects\July06\stdafx.h

                [0006]=e:\2003-sourcecontrol\Projects\July06\July06.cpp

                [0007]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj.vspscc

                [0008]=E:\2003-sourcecontrol\Projects\July06\July06.sln

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=1025

                [0002]=1025

                [0003]=1025

                [0004]=1025

                [0005]=1025

                [0006]=1025

                [0007]=1025

                [0008]=1025

     

    Active thread 112

    IN:  SccQueryInfo (context 37F6CD0,num files 8)

                [0001]=E:\2003-sourcecontrol\Projects\July06\July06.vssscc

                [0002]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj

                [0003]=e:\2003-sourcecontrol\Projects\July06\ReadMe.txt

                [0004]=e:\2003-sourcecontrol\Projects\July06\stdafx.cpp

                [0005]=e:\2003-sourcecontrol\Projects\July06\stdafx.h

                [0006]=e:\2003-sourcecontrol\Projects\July06\July06.cpp

                [0007]=E:\2003-sourcecontrol\Projects\July06\July06.vcproj.vspscc

                [0008]=E:\2003-sourcecontrol\Projects\July06\July06.sln

    OUT: SccQueryInfo : 0 'SCC_OK'

                [0001]=1025

                [0002]=1025

                [0003]=1025

                [0004]=1025

                [0005]=1025

                [0006]=1025

                [0007]=1025

                [0008]=1025

     

    Active thread 112

    IN:  SccCloseProject (context 37F6CD0)

    OUT: SccCloseProject : 0 'SCC_OK'

     

    Active thread 112

    IN:  SccUninitialize(context 37F6CD0)

    OUT: SccUninitialize : 0 'SCC_OK'

     

    Active thread 112

    IN:  SccUninitialize(context 37F9190)

    OUT: SccUninitialize : 0 'SCC_OK'

    DLL: detach


     

    And then from trying to use "Open From Source Control" to open the same project:

     

    DLL: attach

    Active thread 3892
    IN:  SccGetVersion
    OUT: SccGetVersion version 10002

    Active thread 3892
    IN:  SccInitialize (window A06EE,caller name VssProvider)
    OUT: SccInitialize : 0 'SCC_OK' (context='C785B68',scc name='DesignSync',caps='1539372797',aux path label='',co comment len='0',comment len='1024')

    Active thread 3892
    IN:  SccSetOption (context C785B68,option 6 'SCC_OPT_SHARESUBPROJ',value 1)
    OUT: SccSetOption : 0 'SCC_OK'

    Active thread 3892
    IN:  SccSetOption (context C785B68,option 4 'SCC_OPT_NAMECHANGEPFN',value 5C169756)
    OUT: SccSetOption : 0 'SCC_OK'

    Active thread 3892
    IN:  SccGetProjPath (context C785B68,window A06EE,user duser,project ,local path ,aux path , allow change path 1)
    OUT: SccGetProjPath : 0 'SCC_OK' (user='duser',project='June28',local path='E:\2005-sourcecontrol\Projects\June28-POP',aux path='CorrectSourceControlLocation',new='0')

    Active thread 3892
    IN:  SccOpenProject (context C785B68,window A06EE,user duser,project June28,local path E:\2005-sourcecontrol\Projects\June28-POP,aux path CorrectSourceControlLocation,comment ,callback 5C003E55,flags 0)
    OUT: SccOpenProject : 0 'SCC_OK' (user='duser',project='June28',aux path='CorrectSourceControlLocation',callback='5C003E55')

    Active thread 3892
    IN:  SccPopulateList (context C785B68,command 0 'SCC_COMMAND_GET',num files 1,callback 1543894826,data 1236976,flags 1)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP
    OUT: SccPopulateCallback : Add 1 'E:\2005-sourcecontrol\Projects\June28-POP\June28.sln'
    OUT: SccPopulateCallback : Add 1 'E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj'
    OUT: SccPopulateList : 0 'SCC_OK'
     [0001]=0

    Active thread 3892
    IN:  SccGet (context C785B68,window A06EE,file num 2,flags 0,options=0)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP\June28.sln
     [0002]=E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj
    OUT: SccGet : 0 'SCC_OK'

    Active thread 3892
    IN:  SccQueryInfo (context C785B68,num files 2)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP\June28.sln
     [0002]=E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj
    OUT: SccQueryInfo : 0 'SCC_OK'
     [0001]=1025
     [0002]=1025

    Active thread 3892
    IN:  SccGet (context C785B68,window A06EE,file num 1,flags 0,options=0)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP\June28.sln
    OUT: SccGet : 0 'SCC_OK'

    Active thread 3892
    IN:  SccQueryInfo (context C785B68,num files 1)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP\June28.sln
    OUT: SccQueryInfo : 0 'SCC_OK'
     [0001]=1025

    Active thread 3892
    IN:  SccQueryInfo (context C785B68,num files 1)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj.vspscc
    OUT: SccQueryInfo : 0 'SCC_OK'
     [0001]=1

    Active thread 3892
    IN:  SccGet (context C785B68,window A06EE,file num 2,flags 0,options=0)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj
     [0002]=E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj.vspscc
    OUT: SccGet : 0 'SCC_OK'

    Active thread 3892
    IN:  SccQueryInfo (context C785B68,num files 2)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj
     [0002]=E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj.vspscc
    OUT: SccQueryInfo : 0 'SCC_OK'
     [0001]=1025
     [0002]=1025

    Active thread 3892
    IN:  SccGet (context C785B68,window A06EE,file num 4,flags 0,options=0)
     [0001]=e:\2005-sourcecontrol\Projects\June28-POP\June28\June28.cpp
     [0002]=e:\2005-sourcecontrol\Projects\June28-POP\June28\ReadMe.txt
     [0003]=e:\2005-sourcecontrol\Projects\June28-POP\June28\stdafx.cpp
     [0004]=e:\2005-sourcecontrol\Projects\June28-POP\June28\stdafx.h
    OUT: SccGet : 0 'SCC_OK'

    Active thread 3892
    IN:  SccQueryInfo (context C785B68,num files 4)
     [0001]=e:\2005-sourcecontrol\Projects\June28-POP\June28\June28.cpp
     [0002]=e:\2005-sourcecontrol\Projects\June28-POP\June28\ReadMe.txt
     [0003]=e:\2005-sourcecontrol\Projects\June28-POP\June28\stdafx.cpp
     [0004]=e:\2005-sourcecontrol\Projects\June28-POP\June28\stdafx.h
    OUT: SccQueryInfo : 0 'SCC_OK'
     [0001]=1025
     [0002]=1025
     [0003]=1025
     [0004]=1025

    Active thread 3892
    IN:  SccInitialize (window A06EE,caller name VssProvider)
    OUT: SccInitialize : 0 'SCC_OK' (context='C7889D0',scc name='DesignSync',caps='1539372797',aux path label='',co comment len='0',comment len='1024')

    Active thread 3892
    IN:  SccOpenProject (context C7889D0,window A06EE,user duser,project June28,local path E:\2005-sourcecontrol\Projects\June28-POP,aux path CorrectSourceControlLocation,comment ,callback 5C003E55,flags 0)
    OUT: SccOpenProject : 0 'SCC_OK' (user='duser',project='June28',aux path='CorrectSourceControlLocation',callback='5C003E55')

    Active thread 3892
    IN:  SccQueryInfo (context C785B68,num files 1)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP\June28.vsscc
    OUT: SccQueryInfo : 0 'SCC_OK'
     [0001]=0

    Active thread 3892
    IN:  SccQueryInfo (context C785B68,num files 2)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj.vspscc
     [0002]=E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj
    OUT: SccQueryInfo : 0 'SCC_OK'
     [0001]=1025
     [0002]=1025

    Active thread 3892
    IN:  SccQueryInfo (context C785B68,num files 4)
     [0001]=e:\2005-sourcecontrol\Projects\June28-POP\June28\June28.cpp
     [0002]=e:\2005-sourcecontrol\Projects\June28-POP\June28\stdafx.cpp
     [0003]=e:\2005-sourcecontrol\Projects\June28-POP\June28\ReadMe.txt
     [0004]=e:\2005-sourcecontrol\Projects\June28-POP\June28\stdafx.h
    OUT: SccQueryInfo : 0 'SCC_OK'
     [0001]=1025
     [0002]=1025
     [0003]=1025
     [0004]=1025

    Thursday, June 28, 2007 1:48 PM
  • bump.

     

    Does anyone have any ideas here?

    Thanks....

    Friday, June 29, 2007 3:18 PM
  • Bumping again....
    Sunday, July 1, 2007 2:56 PM
  • Can anyone tell me what this error message means??

     

    "The project you have chosen cannot be correctly opened from source control.

    You are attempting to open a solution or project that was not added to source control using Microsoft Visual Studio. Microsoft Visual Studio supports opening solutions from source control only when they are added (or bound) using Microsoft Visual Studio.
    The user who initially added the solution must use the Change Source Control command to bind the solution to source control in its current location."

     

    Can someone please tell me what this message means, and what the IDE senses is wrong so I can fix it in my API implementation?

    Tuesday, July 3, 2007 11:51 PM
  • MsMarquis,

     

    This error message is not related to the implementation of your MSSCCI provider.

    This message comes up when opening from source control a solution that was not added correctly to source control.

     

    For scc integration to work correctly, a solution/project has to be added to source control using the AddToSourceControl.. or File/SourceControl/AddSolutionToSourceControl commands in VS integration (and not by adding directly the files to the scc databases outside VS!). The AddToScc operation writes some scc-related blocks with the project bindings in the project files and in the solution, will create vspscc/vsscc/vssscc files, etc, and only after that will checkin/add those files to the scc database.

    Opening from source control a solution has to be done using the OpenFromSourceControl commands in VisualStudio (and not getting the files from scc database with external tools and opening the solution locally!). During the OpenFromScc operation, if VS finds one of the projects or solution without the source control bindings block it will display the error message you saw and the project will likely be opened without source control enabled for it.

     

    Alin

    Saturday, July 7, 2007 5:25 PM
    Moderator
  • Alin,

     

    Thanks for the response.

     

    This project that I am attempting to Open from Source Control **WAS** added to source control using the Add To Source Control operation in my provider (as the log above shows). 

     

    So I still don't understand why these blocks are not written.

     

     

    Monday, July 16, 2007 3:46 PM
  • I don't know what your provider does, but I'm pretty sure your project was not added to source control using integration.

     

    There is no SccAdd or SccCheckin call in your log during your described add to source control operation - thus, VS doesn't get the chance of adding or updating the project and solution files you have in the database with the source control information block that marks that project/solution as "under source control".

     

    Alin

     

    Tuesday, July 17, 2007 8:11 AM
    Moderator
  • Sorry, Alin, I inadvertantly posted the wrong log for "Add to Source Control".

     

    I found the problem by attaching a trace to Visual Source Safe and comparing the output to my version and found two problems:

    1) During the SccPopulateList function, I was returning only the sln and *proj files, not the associated vssscc and vspscc files.  I corrected that.

    2) I was incorrectly setting the status of checked out files (using SCC_STATUS_PINNED in addition to the correct source controlled value of 1.)

     

    Once I fixed these two problems, the error message went away.

     

    Note: I edited the log above to show the log I was receiving BEFORE I fixed the problem. 

     

    Tuesday, July 17, 2007 4:25 PM
  • Hi,

     

    From what you're saying, the culprit was most likely the return values from SccPopulateList/callback (if I remmember correctly the IDE doesn't care about the pinned status).

     

    One more thing: In the initial log I see you're returning the solution file and the project file, which is in a subfolder.

    IN:  SccPopulateList (context C785B68,command 0 'SCC_COMMAND_GET',num files 1,callback 1543894826,data 1236976,flags 1)
     [0001]=E:\2005-sourcecontrol\Projects\June28-POP
    OUT: SccPopulateCallback : Add 1 'E:\2005-sourcecontrol\Projects\June28-POP\June28.sln'
    OUT: SccPopulateCallback : Add 1 'E:\2005-sourcecontrol\Projects\June28-POP\June28\June28.vcproj'
    OUT: SccPopulateList : 0 'SCC_OK'

     

    In response to the SccPopulateList you are supposed to return:

    - all files in the folder, not just the solution/project/vs*scc hint files. The IDE will pick whatever files it needs (there may be project types the IDE recognizes, but your provider does not!)

    - only the files in that folder, and not the files in the subfolders (unless the IDE calls you with PL_RECURSIVE flag, which I doubt)

     

    Alin

    Tuesday, July 17, 2007 5:59 PM
    Moderator