Tuesday, April 1, 2008

Remove a Visual Studio from Source Control

To remove an item from source control, the first thing that you need to do is to select all items in your project and uncheck the Read-Only property. Click Apply then OK. Do these steps for both folder of your project (MyDocuments\Visual Studio Projects and wwwroot).


In your Solution Directory, delete all the files with the extension .vssscc or .scc (includes all child folders in your solution directory).

Next, right click on your .sln file and select Open with… Select Notepad.

In your .sln file, find the GlobalSection(SourceCodeControl) = preSolution part. Select the whole part of it until EndGlobalSolution and remove it. Save and close the file.


For each of the .vbproj in your project, open it with Notepad. Under <VisualBasic> you can find the following attributes: SccProjectName, SccLocalPath, SccAuxPath, and SccProvider as shown below. Remove it, save and close the file.


Now, the source control had completely removed from the project.

Hope you will find this helpful.

0 comments:

 

Get paid for your opinions! Click on the banner above to join Planet Pulse. Its totally free to sign up, and you can earn UNLIMITED. Find out more by visiting PLANET PULSE.
July Code Blog Copyright © 2010 Blogger Template Designed by Bie Blogger Template