I’m having a problem using the outputdir parameter within
the solution task and building dependent subprojects within the solution. My solution has several projects. First to compile is
Project A – this builds fine, and its output products are in the
specified outputdir. Next is Project B, which depends upon (and thus
references) Project A. This generates a compiler error “the
namespace could not be found. Are you missing an assembly
reference”. The namespace that cannot be found is Project A. If I do not use the outputdir parameter when compiling the
solution task, everything builds fine. Is there more that I need to setup in order to build a
solution and all its subprojects, and specifying that all the output products
will end up in a specified outputdir? What am I missing? Here’s the solution task that I’m using: <target
name="Build" description="Build TCN Website"> <solution
solutionfile="${BuildAreaSourceWebsiteTCN}\TCN
Website\TCN_Website\TCN_Website.sln"
configuration="Release"
outputdir="${BuildAreaOutputWebsiteTCN}" > <webmap>
<map url=""
path="${BuildAreaSourceWebsiteTCN}\TCN
Website\TCN_Website\TCN_Website.csproj" />
</webmap> </solution> </target> I’m using version “NAnt
0.85 (Build 0.85.1932.0; rc3; 4/16/2005” with VS2003. Thanks, Beth |
- [NAnt-users] Problem building with solution task with outputdi... bhechanova