nant / nant

NAnt is a free .NET build tool. In theory it is kind of like make without make's wrinkles.
nant.sourceforge.net
GNU General Public License v2.0
260 stars 124 forks source link

<include> task does not support long path names for buildfile attribute #55

Open bigboze opened 12 years ago

bigboze commented 12 years ago

The <include> task fails in the case that the buildfile attribute length is greater than 260 characters.

In my case the normalised path is less than 260 characters, however the path has to remain relative as the current directory of the build file cannot be guaranteed.

Example:

default.build ... <include buildfile="../../long_path_a_is_really_really_really_really_really_long/include.build" / > ...

output error:

Could not include build file '../../long_path_a_is_really_really_really_really_really_long/include.build'. The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.