I read these links on the official Microsoft page Update a customized process template to access new features :
When I try to execute Features4tfs.2015 in debug I get this exception
System.NotSupportedException: Specified method is not supported. at Microsoft.TeamFoundation.Integration.Server.CommonStructureService.Microsoft.TeamFoundation.Framework.Server.ITeamFoundationService.ServiceStart(TeamFoundationRequestContext systemRequestContext)
on this call
ProjectFeatureProvisioningService.GetFeatures(...)
.
Any idea?
Here is a solution proposed by Microsoft to solve the problem with features4tfs on TFS 2015 RTM :
insert this line
deploymentHostProperties.PlugInDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), @"Microsoft Team Foundation Server 14.0\Application Tier\TFSJobAgent\Plugins");
just after this line (line 68)
TeamFoundationServiceHostProperties deploymentHostProperties = new TeamFoundationServiceHostProperties();
After that it works perfectly on TFS 2015 RTM.