Version history?

Feb 25, 2011 at 7:58 PM

Often (e.g. when upgrading or maintaining older/legacy projects) it would be useful to know which version of StyleCop supports which version of Visual studio ...

StyleCop     VS            C#
=============================
4.3.1.3      2003, 2005   3.0
4.3.2.1      2003, 2005   3.0
4.3.3.0      2005         3.0
4.4.?.?      2008, 2010   4.0  ?
Exists there somewhere a complete list!?

Feb 25, 2011 at 8:34 PM

D'ho!

It seems:

  • StyleCop 4.3.3.0 works with VS2010 (Express) but not with VS2005
  • StyleCop 4.3.1.3 works with VS2005 but not with VS2010 (Express)

What should developers do when have to maintain VS2005 projects and VS2010 Express (Phone Edition)!?

Coordinator
Mar 14, 2011 at 12:12 AM

http://stylecop.codeplex.com/wikipage?title=HistoryOfStyleCop&referringTitle=Documentation

Mar 14, 2011 at 8:48 AM

Thanks a lot for the link!

One open question: Is it possible to use (e.g. 4.4 (or even 4.5) or 4.3.3.0 via MSBuild under VS2005 and VS2010) or exists there a way to have multiple installations of StyleCop on a machine (it is possible to run VS2005 and VS2010 on one machine).

Coordinator
Mar 14, 2011 at 9:00 AM

I think this covers it:

http://devjitsu.com/blog/2010/06/17/running-stylecop-in-vs-2005-or-vs-express/

Mar 14, 2011 at 11:16 AM

Thanks, I'll give it a try asap!