Monday 15 February 2010

visual studio 2013 - Stylecop still checks generated file even I have the setting to skip it -



visual studio 2013 - Stylecop still checks generated file even I have the setting to skip it -

i have class library project stylecop enabled, rules skip generated files have shown in screenshot here.

but when start add together new workflow activity (activity1.xaml) got error messages stylecop

warning error: missing xml comment publicly visible type or fellow member 'myproject.activity1.activity1()' c:\myproject\trunk\myproject\obj\debug\activity1.g.cs missing xml comment publicly visible type or fellow member 'myproject.activity1' c:\myproject\trunk\myproject\obj\debug\activity1.g.cs

can explain me how happened?

my humble sentiment stylecop buggy, letting lone beingness not user-friendly (both subjective).

see source code below, skipanalysisfordocument method: https://stylecop.codeplex.com/sourcecontrol/latest#project/src/addins/csharp/parser/csparser.cs

it contains spagetty mix of ".designer.cs" hardcode , regex magic, not clear logic above that. maybe instead of return utils.inputmatchesregexpattern(sourcecode.path, filters) should return !utils.inputmatchesregexpattern(sourcecode.path, filters), hard without debugging.

since whole project looks abandoned - not seem community have want prepare anything. me personally, never liked stylecop source code , wondered how work overall code quality (subjective again).

visual-studio-2013 stylecop

No comments:

Post a Comment