If you have been using Visual Studio 2005 and data adapters in the designer, I bet the following error message have caused you quite a lot of grief:
“Could not retrieve the current project”
Some days ago, I found a solution that seems to work every time: select the data adapter in the designer, bring up its property page, edit the connection string, and then change it back again, and voila – the missing project is back! I suspect that it is not the connection string itself that does the magic, but rather that I am configuring some other component that probably is in a more “stable” state, and hence is able to restore whatever link that has been lost to the current project.