MSBuild parser fails to pick up SharePoint packaging warnings

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Started to notice that when I ran MSBuild at the command prompt it gathered and
      reported 36 Warnings, but my Hudson CI machine was reporting only 16. Further
      investigation found that the MSBuild waring parser was not picking up
      SharePoint project validation warnings. I hand to change a few names here but
      here are the sample warnings that were missed. Please update parser to catch
      SharePoint packaging warnings.

      "C:\Users\davegraham\playpens\x\y\src\Project.Web\Project.Web.csproj" (Package
      target) (15:11) ->
      (PerformPackageValidation target) ->
      C:\Users\davegraham\playpens\x\y\src\Project.Web\Package\Package.package :
      warning SPT6: Microsoft.VisualStudio.SharePoint.ListDefinition ListDef is
      included in the following features: TypesAndLists, ListBrowser
      [C:\Users\davegraham\playpens\x\y\src\Project.Web\
      Project.Web.csproj]
      C:\Users\davegraham\playpens\x\y\src\Project.Web\Package\Package.package :
      warning SPT6: Microsoft.VisualStudio.SharePoint.WebPart ListWebPart is included
      in the following features: ProjectWebParts, ListBrowser
      [C:\Users\davegraham\playpens\x\y\src\Project.Web\
      Project.Web.csproj]

            Assignee:
            Ulli Hafner
            Reporter:
            davegrahamptc
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: