1
Question Body:

How do you use the nant <copy> command and maintain the directory structure? This is what I am doing, but it is copying all the files to a single directory.

<copy todir="..\out">
  <fileset>
    <includes name="..\src\PrecompiledWeb\**\*" />
  </fileset>
</copy>
Edit
avatar
asked15 years ago

    Leave a Comment

    [named hyperlinks] (https://example.com)
    **bold**
    _italic_

    1 Answer

    0

    Try:

    <fileset baseDir="../src/PrecompiledWeb"><includes name="**/*" />
    
    Edit
    avatar
    answered15 years ago

    Your Answer

    Drop files here or click to upload.
    undraw-questions

    Disilab for your Teams

    – Collaborate and share knowledge with a private group.

    Create a free Team