3
Vote

Update StyleCop dlls to 4.7.55.26

description

When I open my Visual Studio 2015 with the latest version of StyleCop Check-in Policy and Visual StyleCop extensions installed and if I go to a project with the check-in policy enabled, it throws an exception either on trying to run StyleCop for some project using a contextual menu or when reviewing Pending Changes - depending on which of the two scenarios I use first. The exception says something about missing constructor, which, based on this discussion, is probably because the two extensions use different versions of StyleCop.dll. The Check-in Policy extension appears to use the older one.

Therefore, please update StyleCop dlls to version 4.7.55.26.

file attachments

comments

LockTar wrote Sep 23, 2015 at 11:28 AM

Could you give more information about the TFS version and update you use?
We use this checkin policy every day with multiple teams and we don't have any problems. I need more information to investigate. Have you the exact error message?

Thanks

Dunross wrote Oct 7, 2015 at 3:40 PM

Sorry for a delayed answer... :-(

We use TFS 2013 version 12.0.31101.0

My machine configuration:
  • Windows 8
  • Visual Studio 2015 (up to date)
  • Visual StyleCop visual studio extension version 4.7.57.0
  • StyleCop Check-in Policy 2015 extension version 2.1.0

LockTar wrote Oct 14, 2015 at 1:51 PM

I reproduced the problem. I have it to on my machine. The problem is that Visual StyleCop changes a lot. So I contacted the developer for this today. But I will update the dll to check if this fixes the isssue. I think that this will be done this week.

jsrustad wrote Feb 5, 2016 at 6:04 PM

The original StyleCop project is back up under new management. There is an alpha release that includes 2 years worth of stuff including VS2015 compatibility. The next release is expected to include C#6 rule support.

LockTar wrote Feb 8, 2016 at 6:34 AM

Hi,

I saw the notification. When the next release is stable, I will take a look which dll is better to use for this project.