Try to use new assemblyfolders subtag.
<solution configuration="Release" outputdir="${output.dir}"
includevsfolders="false">
<projects>
<includes name="my.csproj"/>
</projects>
<assemblyfolders>
<includes name="x:\your\path\to\nunit\framework"/>
</assemblyfolders>
</solution>
GAC do not help becouse nunit.frawork depend on two other assemblies without
strong name (coudn't be placed into GAC)
>As an aside, since installing the latest CVS build the record task seems to
have disappeared. Anyone any idea why?
Solution task is under heavy development since 0.8.3 so maybe your problem
was corrected somewhere.
Martin
----- Original Message -----
From: "Simon Steele" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 1:31 PM
Subject: [nant-dev] Re: Solution Task - Unable to find appropriate
configuration for proj ect reference
Hi,
>I'm trying out the solution task for the first time and am experiencing a
>couple of problems. I'm using Nant 0.8.3 final.
>The result of the build should be:
>
>Project\bin\debug\project1.dll
>Project\Tests\bin\debug\project1.dll
>Project\Tests\bin\debug\Tests.dll
>
>Unfortunately when I try and build this solution I get an Internal Error:
>
>----------------------------------------------------------------------
>
>INTERNAL ERROR
>
>System.Exception: Unable to find appropriate configuration for project
>reference
Argh. Running with the latest CVS, I see that I now get a failure
rather than an internal error, and that the failure seems to be after
it says that it's copying nunit.framework.dll. How can I allow the
script to find the nunit framework dll which it needs to compile? The
hint path isn't going to be very useful to the solution task because
the project is developed somewhere completely different. Shouldn't the
GAC be able to help with this?
As an aside, since installing the latest CVS build the record task
seems to have disappeared. Anyone any idea why?
thanks again,
Simon.
----------------------------------------------------------------------
[solution] Starting solution build.
[solution] Included projects:
[solution] -
C:\build\AAL\src\Components\Softel.Logging\Softel.Logging.csproj
[solution] Loading projects...
[solution] Loading project
'C:\build\aal\src\components\softel.logging\Tests\Te
sts.csproj'.
[solution] Loading project
'C:\build\AAL\src\Components\Softel.Logging\Softel.L
ogging.csproj'.
[solution] Gathering additional dependencies...
[solution] Fixing up references...
[solution] Building Softel.Logging [Debug]...
[solution] Copying references:
[solution] - System.Data
[solution] - System
[solution] - System.XML
[solution] Starting compiler...
[solution] Success! (exit code = 0)
[solution] Fixing up references...
[solution] Fixed reference 'Softel.Logging': ->
C:\build\AAL\src\Components\So
ftel.Logging\bin\Debug\Softel.Logging.dll.
[solution] Building Tests [Debug]...
[solution] Copying references:
[solution] - Softel.Logging
[copy] Copying 3 files to
C:\build\aal\src\components\softel.lo
gging\Tests\bin\Debug\.
[copy] Copying
C:\build\AAL\src\Components\Softel.Logging\bin\D
ebug\Softel.Logging.pdb to
C:\build\aal\src\components\softel.logging\Tests\bin\
Debug\Softel.Logging.pdb.
[copy] Copying
C:\build\AAL\src\Components\Softel.Logging\bin\D
ebug\Softel.Logging.dll to
C:\build\aal\src\components\softel.logging\Tests\bin\
Debug\Softel.Logging.dll.
[copy] Copying
C:\build\AAL\src\Components\Softel.Logging\bin\D
ebug\Softel.Logging.xml to
C:\build\aal\src\components\softel.logging\Tests\bin\
Debug\Softel.Logging.xml.
[solution] - System.Data
[solution] - nunit.framework
Build sequence for target `onFail' is onFail
Complete build sequence is onFail, buildComponents, debug, release,
noclean, cus
tomer, build, clean, zipup, copyrelease, CustomerRelease,
genericbuild, Softel.L
ogging, Softel.XMP
----------------------------------------------------------------------
________________________________________________________________________
This e-mail has been scanned for viruses by MessageLabs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers