25 June, 2009

The selected file is not a valid solution file.

Trying to open a solution file from Visual SourceSafe 2005 directly from Visual Studio 2008, I got the above error.

Installing the previously mentions (older post) about a CTP to VSS, failed to solve this. So Goggling again made me encounter the below solution. Which made the error disappear.

  1. Download and install the CTP: Visual SourceSafe 2005 CTP Update
  2. Open cmd-prompt (admin priv.) and enter: regsvr32 “%programfiles%\Microsoft Visual SourceSafe\tdnamespaceextension.dll”

You are good to go and Visual Studio and VSS is working together again.

I’ve made this work by just “re-registering” the assembly using the regsvr32.exe utility as specified in step (2) above. VS and VSS works together after this.


Anonymous said...

Thank you ! I've got the same problem. Usually installing the Source Safe patch is sufficient, but this time I had to register the .dll.
It works !

Anonymous said...

Thanks! Installing the patch and registering the DLL worked for me as well.

Anonymous said...

Thank you! I was struggling with this all morning. Silly VSS.

Schooltje said...

I have the same issue... but the above solutions does not work for me. Have some one other ideas?

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...