[JIRA] Commented: (JENKINS-8347) MSBuild parser ignores StyleCop warnings

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (JENKINS-8347) MSBuild parser ignores StyleCop warnings

JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-8347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146729#comment-146729 ]

Ulli Hafner commented on JENKINS-8347:
--------------------------------------

Which count do you mean? The count in the violations plgu-in or in the warnings plug-in?

> MSBuild parser ignores StyleCop warnings
> ----------------------------------------
>
>                 Key: JENKINS-8347
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8347
>             Project: Jenkins
>          Issue Type: Bug
>          Components: warnings
>         Environment: Hudson 1.384, warnings plugin 3.11, Visual Studio 2010, StyleCop, Windows XP
>            Reporter: pjdarton
>            Assignee: Ulli Hafner
>            Priority: Minor
>
> We've got a Visual Studio 2010 solution with one or more projects whose build process includes calling on StyleCop, which generates warnings about people ignoring naming conventions, layout etc.
> Although these warnings fit the same "format" as standard MSBuild warnings, the plugin seems to ignore them and does not report their presence.
> e.g.{noformat}
> MoqExtensions.cs(2,1): warning : SA1210: Using directives must be sorted alphabetically by the namespaces. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj]
> MoqExtensions.cs(3,1): warning : SA1210: Using directives must be sorted alphabetically by the namespaces. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj]
> MoqExtensions.cs(4,1): warning : SA1210: Using directives must be sorted alphabetically by the namespaces. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj]
> MoqExtensions.cs(6,1): warning : SA1208: System using directives must be placed before all other using directives. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj]
> MoqExtensions.cs(70,1): warning : SA1402: A C# document may only contain a single class at the root level unless all of the classes are partial and are of the same type. [C:\hudsonSlave\workspace\MyProject\Source\Common.Tests.Stubs.csproj]
> {noformat}

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira