Remove Solution from Source Safe

Dears,

I faced a problem of "Unable to load one or more breakpoints" error whenever I load my project/solution. (This happen even I manually remove/add a project in/out of my solution).

So now, I want to remove my solution from the source safe (which is not so reliable now) but my VS 2005 hang when I click "File", Source Control, Change Source Control

Is it the only way for me to retract my solution from VSS

Thanks.



Answer this question

Remove Solution from Source Safe

  • brohar

    Start Visual Studio from the start menu (start - programs - microsoft Visual studio) and remove the solution from there.

    Sven



  • ace69x

    Hi Peter,

    Breakpoints have nothing to do with source control integration. If you don't have web projects in your solution you can probably delete the suo file to get rid of that error.

    The right way to unbind the solution from source control is to use ChangeSourceControl dialog. Are you sure VS hangs, or is is really waiting for Windows to access some VSS database share that's no longer accessible If you give it more time would it come up eventually

    Anyway, you can use alternate solutions: rename temporarily the ssscc.dll from VSS install folder, then launch VS and open the solution. VS2005 will realize the source control provider cannot be initialized and will prompt you to permanently remove source control bindings from solution.

    There are also programs on the net that remove scc bindings by editing the solution and project files, but you should use them at your own risk.

    Alin


  • Jehanzeb Naeem Khan

    I suspect that removing source control integration won't help very much.

    I don't know too much about breakpoints, but I think they are stored by debugger in the suo file in a section that's completely unrelated to scci (and inaccessible to source control).

    Things I'd try would be:

    - close the solution, delete the suo file, reopen the solution (do this only if you don't have web projects in your solution)

    - delete the suo file and reopen the solution from source control (either in a new location, or in the same location). If the solution contains web projects, opening from source control will recreate the enlistments for web projects and will re-write the scci section of the suo file.

    In this way you'll start with a new suo file that doesn't have the corrupted section written by the debugger.

    Alin


  • marc8080

    Hi Alin,

    Your suggestion looks promising, but one of my project in the soln is a ASP.NET Web services proj... :( So I can't follow your suggested route.

    Thanks,


  • WoofDg79

    Hi Alin,

    Yes, I also feel that breakpoint have nothing to do with VSS, but I got the alert box from VS 2005 whenever I load my solutions. I also try to "Unload" the proj, and then "Reload" the proj in Soln Explorer, this alert box come out too (reproducible).

    Therefore, I think in the direction that this problem (I'd "delete all breapoints" from "Debug" menu already) is related to VSS... anyway, I'll try the 'rename' approach and please let me know if you find anything in the mean time.

    Thanks,


  • Remove Solution from Source Safe