Enable tfs feature in sharepoint

After config sharpoint 2013 with tfs , i want to enable features in sharepoint like 
“cog | Site Settings | Site Actions | Manage site features” to enable

I got following error :

TF262601: You attempted to add a SharePoint Feature to the site, but that feature requires data from Team Foundation Server. The feature could not be activated because the site is not associated with a team project in Team Foundation Server. You must configure a team project to refer data for that project to this site before you will be able to activate this feature. For more information, see this topic on the Microsoft Web site: http://go.microsoft.com/fwlink/?LinkId=147580.

 the solution is :

open your Team Project in Visual Studio and go to "Team Explorer | Settings | Team Project | Portal Settings" and tick "Enable Team Portal" and "Reports and dashboards refer to data from this team". Then you will be able to enable the features :)

原文地址:https://www.cnblogs.com/vivianlou/p/3652516.html