Reputation: 333
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?
Upvotes: 2
Views: 291
Reputation: 333
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.
Upvotes: 0
Reputation: 114957
It seems to live here in v14:
public class ProjectFeatureProvisioningService : ITeamFoundationService, IProjectFeatureProvisioning
Name: Microsoft.TeamFoundation.Server.WebAccess.WorkItemTracking.Common.ProjectFeatureProvisioningService
Assembly: Microsoft.TeamFoundation.Server.WebAccess.WorkItemTracking.Common, Version=14.0.0.0
Reflector is your friend in these cases. Just load all assemblies from the TFS server directories into Reflector and then use the search feature:
It'll then be a piece of cake to find the assembly "Microsoft.TeamFoundation.Server.WebAccess.WorkItemTracking.Common.dll" here:
These internal classes can move between assemblies without notification. That's why they're internal ;).
Full disclosure: I received a copy of Reflector Pro for my blogging and love for the product. There are other products like IlSpy, justDecompile or dotPeek which may offer similar functionality.
Upvotes: 1