[RESOLVED] Open project without source safe
Hi,
I've downloaded a project from the net, when I open it, it asks for my source safe username and password. Does anyone know how to turn this off?
With visual studio 6 there was a file you could delete and then in the properties of each file you unchecked readonly
Cheers Al
Re: Open project without source safe
Its the
ProjectName.vbproj.vspscc
ProjectName.vssscc
vssver.scc
mssccprj.scc
files.
Re: Open project without source safe
RobDog,
Thanks a bunch for your reply. These are the files I have,
- AssembleyInfo.cs
- RowSelectorColumn.aspx
- RowSelectorColumn.cs
- RowSelectorColumn.csproj
- RowSelectorColumn.csproj.user
- RowSelectorColumn.sln
- RowSelectorColumn.suo
- RowSelectorColumnScript.js
- untitled.ndoc
When I open the project "RowSelectorColumn.csproj" I now get a message
"The solution appears to be under source control, but its binding information cannot be found. Its is possible that the MSSCCPRJ.SCC file or another item that holds the source control setting for the solution, has been deleted...."
Click OK Next msg -
"Some of the properties associated with the solution could not be read"
OK
Re: Open project without source safe
In the VS IDE the File menu there is the Source Code Control menu where you can also unbind it from source code control.
Check the RowSelectorColumn.sln file for something like this:
Code:
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccLocalPath0 = .
CanCheckoutShared = false
SolutionUniqueID = {27E13574-6252-469E-90AE-0E053E044B75}
SccProjectUniqueName1 = RowSelectorColumn.vbproj
SccLocalPath1 = .
CanCheckoutShared = false
EndGlobalSection
Re: Open project without source safe
RobDog,
Having looked at my other projects they don't have the section -
Quote:
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccLocalPath0 = .
CanCheckoutShared = false
SolutionUniqueID = {27E13574-6252-469E-90AE-0E053E044B75}
SccProjectUniqueName1 = RowSelectorColumn.vbproj
SccLocalPath1 = .
CanCheckoutShared = false
EndGlobalSection
So I've deleted it. Now when I open the project I just get the first msg -
Quote:
"The solution appears to be under source control, but its binding information cannot be found. Its is possible that the MSSCCPRJ.SCC file or another item that holds the source control setting for the solution, has been deleted...."
The second msg has gone, don't know if that's a good thing or not.
Have had a look on the file-Source control menu and none of the options indicate you can remove the project from source control?
Many, many thanks for your help.
Cheers Al
Re: Open project without source safe
What version are you using?
In 2003:
File > Source Control > Change Source Control...
1 Attachment(s)
Re: Open project without source safe
RobDog,
Yes using 2003, I looked in Change Source Control, but couldn't see anything that would remove it, does this dialog act for the entire project or do I need to open each fine the go File->Source control -> etc.
I've uploaded an image of the Change Source Control Dialog can you see anything that needs changing?
Re: Open project without source safe
Your image shows correct for not being controlled.
It may be easier to overwrite the project with a new extraction from the downloaded zip file or rar.
Re: Open project without source safe
RobDog,
Done that when it asked me to log into source safe said no, it then popped up the Change Source Control dialog, I unchecked the two Connected checkboxes, the project then opened with little red ticks next to each file. I've tried opening the files and they open okay. So seems to be sorted
Cheers Al
Re: Open project without source safe
Well its working but you shouldnt have the red checkmarks next to each file in the solution explorer. That means its checked out and writeable.
You could always create a new project and add the references and files to create a new stand alone version of the project that will not be under any source code control at all.
Re: Open project without source safe
RobDog,
Thanks a bunch for your help, seem to have it sorted
Cheers Al