StyleCop 4.4 works inside VS.NET 2010 but not MSBuild command line
Posted
by Steve Michelotti
on Stack Overflow
See other posts from Stack Overflow
or by Steve Michelotti
Published on 2010-05-27T18:07:53Z
Indexed on
2010/05/27
18:11 UTC
Read the original article
Hit count: 391
stylecop
We are seeing extremely strange results where StyleCop will correctly report violations when run from within Visual Studio 2010. However, when we run msbuild on the command line (e.g., "MSBuild.exe mySolution.sln") it reports "No violations encountered" when clearly there are the same violations as when we ran it within Visual Studio. Is this a bug in the latest release of StyleCop? Or in the 2010 integration? Is there anything you can tell me about possible differences with StyleCop executing from within VS.NET versus MSBuild command line? Thanks.
© Stack Overflow or respective owner