There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Method not found: 'Void StyleCop.CodeProject..ctor
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.
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)