Closed ryanmendoza closed 8 years ago
I finally got something to show up in the logs:
Log Name: Microsoft-Team Foundation Server/Debug Source: Microsoft-Team Foundation Server Date: 12/16/2015 10:28:21 AM Event ID: 0 Task Category: This task has debugging events Level: Error Keywords: Info Messages User: --------------- Computer: --------------- Description: ReflectionTypeLoadException loading assembly: DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null. Not all plugins may be loaded. Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.Assembly.GetTypes() at Microsoft.TeamFoundation.Framework.Server.VssExtensionManagementService.ExportTypeMap.FillInExtensionRefsFromAssembly(Assembly a, Object typeMapLock, IDictionary`2 typeMap, Boolean reportErrors). Loader Exceptions: TF400443: Failure loading extensions of type DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null. Plugin directory = D:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\TfsJobAgent\Plugins.
Loader Exception(s): Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.BuildCompletedHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.BuildCompletedHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.BuildCompletionHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.BuildCompletionHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.BuildQualityChangedHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.BuildQualityChangedHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.CheckinHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.CheckinHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.DiscussionsHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.DiscussionsHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.PullRequestCreatedHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.PullRequestCreatedHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.PullRequestReviewerVoteHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.PullRequestReviewerVoteHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.PullRequestStatusUpdateHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.PullRequestStatusUpdateHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.RepositoryCreatedHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.RepositoryCreatedHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.ProjectCreatedHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.ProjectCreatedHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.ProjectDeletedHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.ProjectDeletedHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.WorkItemChangedHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.WorkItemChangedHandler
Loader Exception Type: System.TypeLoadException Message: Method 'ProcessEvent' in type 'DevCore.TfsNotificationRelay.EventHandlers.GitPushHandler' from assembly 'DevCore.TfsNotificationRelay, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Failed to load type: DevCore.TfsNotificationRelay.EventHandlers.GitPushHandler
Event Xml:
Hi @elryry, No currently released version of TfsNotificationRelay supports TFS 2015.1. You'll have to build it yourself from the tfs2015.1 branch or wait until I get around to making a new release. See issue #27.
1+2: I think space should work. 3: Yes, it can be left empty.
@kria thanks for the response. In the 2015.1 branch, the Microsoft.TeamFoundation.Common and Microsoft.VisualStudio.Services.WebApi dlls are missing from the lib folder. Is it safe to assume I can just grab those from VS 2015 and TFS 2015 installs to build successfully?
Just to update, I built 2015.1 branch and redeployed the .dlls and .config files. Not getting the same error as above, however it is still not sending any notifications to my Slack channel.
Maybe you'll have better luck with the latest release which supports 2015.1, if you haven't already gotten it to work.
Hi, I am trying to configure TfsNotificationRelay with TFS 2015.1 and Slack. I have followed the Installation guide from the Wiki word-for-word as well as enabled logging, and I am having no luck (also getting no logs).
I had a few questions regarding the configuration:
Thanks for any help you could provide!