Here's a weird
one. I had this working this way:
mainbuildfile
contains:
<nant
buildfile="otherbuildfile.xml" target="default" />
Other buildfile
contains:
<property name="nant.settings.currentframework"
value="net-1.0" />
<solution
solutionfile="${sourcefolder}\${solutionfile}" configuration="release"
/>
This does not work
when mainbuildfile is executed. I get:
build:
[echo] 12/16/2004 10:52:29 Building assembly...
[solution] Starting solution build.
[solution] Building 'MySolution'[release] ...
[resgen] error: Invalid ResX input.
[resgen] 1 error(s).
BUILD FAILED - 0 non-fatal error(s), 2 warning(s)
External Program Failed: C:\Program Files\Microsoft.NET\FrameworkSDK\bin\resgen.exe (return code was -1163019603)
[echo] 12/16/2004 10:52:29 Building assembly...
[solution] Starting solution build.
[solution] Building 'MySolution'[release] ...
[resgen] error: Invalid ResX input.
[resgen] 1 error(s).
BUILD FAILED - 0 non-fatal error(s), 2 warning(s)
External Program Failed: C:\Program Files\Microsoft.NET\FrameworkSDK\bin\resgen.exe (return code was -1163019603)
Funny thing is, the
build DOES work if I execute otherbuildfile directly, not called via
<nant> from mainbuildfile.
Also, the build DOES
work executing the mainbuildfile if <property
name="nant.settings.currentframework" value="net-1.0" /> is omitted in
otherbuildfile.
e