« SCC Switch Provider, GotDotNet Source Control | Main | WikiPedia.org, A free encyclopedia being written by almost everyone that wants to. »

SCC Switch Provider: C# Visual Studio project to change source control provider.

Joined the FlexWiki GotDotNet group last night for source code access which is provided through a custom source code control provider that integrates with Visual Studio.

That led to looking for an easy tool to switch SCC between GDN and Perforce. Such a tool existed on GDN but only as an exe, so I used Lutz Roeder’s Reflector to reverse engineer it into a new C# project. Download.

Remember to call the Microsoft.Win32.Registry.LocalMachine.OpenSubKey method with a second argument of true to indicate that write access is required when writing to a key.

Comments

I think this is the original source for the exe you decompiled.



http://www.codeproject.com/macro/sccprovider.asp

Thanks for the additional reference, which I believe is a Visual C++ based project.



My starting point was Stewart Whaley's www.gotdotnet.com workspace:



http://www.gotdotnet.com/Community/Workspaces/viewuploads.aspx?id=7bad3b45-3f48-450b-85b6-ea224456abe5



Which is a VB.NET project.



I'm certain Whidbey will address this hole in Visual Studio's current support for 3rd party source control integration so I don't think it makes much sense to take this project any further.



It's silly that Visual Studio doesn't auto detect the source control provider from a solution file and switch it for you on the fly.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)