[Mono-bugs] [Bug 565847] New: ItemGroup inside Target is not supported

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 17 19:35:06 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=565847

http://bugzilla.novell.com/show_bug.cgi?id=565847#c0


           Summary: ItemGroup inside Target is not supported
    Classification: Mono
           Product: Mono: Tools
           Version: 2.6.x
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: xbuild
        AssignedTo: jankit at novell.com
        ReportedBy: rodrigobamboo at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


The following target is completely supported by msbuild and prints the names of
all files in the output folder:

  <Target Name="PrintOutputFiles" DependsOnTargets="Build">

    <ItemGroup>
      <OutputFiles Include="$(OutputPath)/**/*.*"/>
    </ItemGroup>

    <Message Text="@(OutputFiles->'%(Filename)%(Extension)')" Importance="high"
/>

  </Target>

xbuild crashes with:

Build FAILED.
Errors:

XBuildItemGroupBug.csproj (PrintOutputFiles) ->
(PrintOutputFiles target) ->

    : error : Error initializing task ItemGroup: Not registered task ItemGroup.

     0 Warning(s)
     1 Error(s)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list