views:

56

answers:

0

I recently re-built my development machine. On this new machine, VS 2010 can no longer open sln files directly from SS 2005. These are valid 2010 solutions (orginally created witih VS 2010) that worked fine until I re-built my machine.

The message I get is "The selected file is not a valid solution file".

I've re-built many times and used many installs of VS and never had a problem opening sln's from SS using VS 05, 08 or 10. I've just never seen this before.

I have re-installed SS 2005 as well as the latest SS update but nothing works.

VS 2010 can open solutions from the file system just fine, so it must be a SS thing.

Any ideas?

Okay thanks. I created a console app and checked it into SS. No problems. When I delete it from my local file system and try and get the solution from SS I get the same error. I would say there's nothing wrong with the sln file, but here's the text of file:

Microsoft Visual Studio Solution File, Format Version 11.00

Visual Studio 2010

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApplication1", "ConsoleApplication1\ConsoleApplication1.csproj", "{748E05CA-D880-4D89-9479-4AB800D79C82}" EndProject Global GlobalSection(SourceCodeControl) = preSolution SccNumberOfProjects = 2 SccLocalPath0 = . SccProjectUniqueName1 = ConsoleApplication1\ConsoleApplication1.csproj SccLocalPath1 = . SccProjectFilePathRelativizedFromConnection1 = ConsoleApplication1\ EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x86 = Debug|x86 Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {748E05CA-D880-4D89-9479-4AB800D79C82}.Debug|x86.ActiveCfg = Debug|x86 {748E05CA-D880-4D89-9479-4AB800D79C82}.Debug|x86.Build.0 = Debug|x86 {748E05CA-D880-4D89-9479-4AB800D79C82}.Release|x86.ActiveCfg = Release|x86 {748E05CA-D880-4D89-9479-4AB800D79C82}.Release|x86.Build.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal