It works for me. I have a first target to declare the file sets

    <target name="define.filesets">
        <fileset id="projects.csharp" basedir="${path::get-directory-name(solutionFile)}">
            <include name="**/*.csproj"/>
        </fileset>
       ....
    </target>

then I use it that way :

    <target name="doc" depends="check,define.filesets" description="generate documentation, based on Release configuration (only for C# projects)">
        <foreach item="File" property="filename">
            <in>
                <items refid="projects.csharp"/>
            </in>
            <do>
                ....

Are you doing something a bit different ?

kind regards

Thibaut
--
[blog] http://www.dotnetguru2.org/tbarrere

Reply via email to