4

Resolved

TFS 2015 RTM :System.NotSupportedException

description

We are having this exception with TFS 2015 RTM :

System.NotSupportedException: Specified method is not supported. at Microsoft.TeamFoundation.Integration.Server.CommonStructureService.Microsoft.Tea‌​‌​mFoundation.Framework.Server.ITeamFoundationService.ServiceStart(TeamFoundation‌​Re‌​questContext systemRequestContext)

on this call

ProjectFeatureProvisioningService.GetFeatures(...).

Any idea?

comments

jandic wrote Nov 5, 2015 at 2:44 PM

I found the answer here (it's not the accepted answer) https://social.msdn.microsoft.com/Forums/vstudio/en-US/e797a7f6-6fd6-4fb8-a258-e13c78a4b3cf/systemnotsupportedexception-thrown-when-calling-projectfeatureprovisioningservicegetfeatures?forum=tfsprocess :

Here is a solution proposed by Microsoft :

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.

olegmik wrote Dec 6, 2015 at 11:10 PM

This fix has been pushed to the master