You have probably created a SharePoint site after creating the Team Project and a receiving the error message:
"This site doesn’t have a default Team Project."
Solution
You have to configure the project portal using Visual Studio Team Explorer 2010 using Team Project Settings » Portal Settings…
More Information
- MSDN Library: Add a Team Project Portal
yes, this works. but I want to know where is this parameter stored?