1
Vote

Method not found: 'Void StyleCop.CodeProject..ctor

description

We updated stylecop assemblies from 4.7.41 to 4.7.54, then it does not work anymore in TFS build, stylecop activity has below exception.
We are using 2012 version of TFSBuildExtensions.
Kindly let me know if you have any ideas to fix this.
Thank you!


StyleCop exception in TFS build:
Exception Message: Method not found: 'Void StyleCop.CodeProject..ctor(Int32, System.String, StyleCop.Configuration)'. (type MissingMethodException)Exception Stack Trace: at TfsBuildExtensions.Activities.CodeQuality.StyleCop.Scan() at TfsBuildExtensions.Activities.BaseCodeActivity.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

comments