PDA

Click to See Complete Forum and Search --> : [RESOLVED] Open project without source safe


aconybeare
May 31st, 2006, 04:11 AM
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

RobDog888
May 31st, 2006, 04:17 AM
Its the

ProjectName.vbproj.vspscc
ProjectName.vssscc
vssver.scc
mssccprj.scc

files.

aconybeare
May 31st, 2006, 04:28 AM
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

RobDog888
May 31st, 2006, 04:40 AM
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:

GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccLocalPath0 = .
CanCheckoutShared = false
SolutionUniqueID = {27E13574-6252-469E-90AE-0E053E044B75}
SccProjectUniqueName1 = RowSelectorColumn.vbproj
SccLocalPath1 = .
CanCheckoutShared = false
EndGlobalSection

aconybeare
May 31st, 2006, 04:53 AM
RobDog,

Having looked at my other projects they don't have the section -

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 -

"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

RobDog888
May 31st, 2006, 04:56 AM
What version are you using?

In 2003:
File > Source Control > Change Source Control...

aconybeare
May 31st, 2006, 05:04 AM
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?

RobDog888
May 31st, 2006, 05:12 AM
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.

aconybeare
May 31st, 2006, 05:17 AM
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

RobDog888
May 31st, 2006, 05:21 AM
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.

aconybeare
May 31st, 2006, 06:27 AM
RobDog,

Thanks a bunch for your help, seem to have it sorted

Cheers Al