"The operation could not be completed" on closing VS.NET
For some reason, every time I closed my (specific) solution from Visual Studio .NET (2003) the IDE throw an “The operation could not be completed” error. After I’ve tried to open another(different) solution in the same IDE instance, the solution was not bounded to the VSS !
I swear, this is a regular solution structure… nothing fancy;
After digging a little, and talking about it with Amir (aka “The Markowitz”), we’ve come to the conclusion that the solution (*.sln) file have problems with the VSS. It became obvious when I tried to add a file to the Solution Items and I simply couldn’t check-in the new file.
I’ve start googling about “troubleshoot VS.NET log” but no luck, I can’t seem to find a log file which will give me some more data about the “The operation could not be completed” error. I hate the “restart-your-computer” solutions style, but after I’ve spent 2 hours exploring the *.sln files, *.csproj files and tried to reproduce the problem on a different solution(tester), I was getting tired and frustrated.
As last resort, I’ve unbounded the all solution, deleted (permanently) the $/MyProject directory from the VSS and reattached the all solution to the VSS again using the recommended guideline.
Now everything is good, weird ah ?