Bugs item #1000867, was opened at 2004-07-30 11:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1000867&group_id=31650

Category: Tasks
Group: 0.84-rc1
Status: Open
Resolution: None
Priority: 5
Submitted By: Kevin H Hood (kevinhhood)
Assigned to: Nobody/Anonymous (nobody)
Summary: solution task path problem

Initial Comment:
I have a two project solution that builds fine from the 
IDE and from the command line using:

devenv /build debug MySolution.sln

>From NAnt the output for 'NAnt debug' fails as follows:

--------------------------
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 
12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: 
file:///C:/dev/Sandbox/KevinH/MySolution/V1/Main/Sourc
e/MySolution.build
Target(s) specified: debug 

clean:

   [delete] Deleting 2 files.
   [delete] Deleting file 
C:\dev\Sandbox\KevinH\MySolution\V1
\Main\Source\bin\W32_Debug\MySolution.dll.
   [delete] Deleting file 
C:\dev\Sandbox\KevinH\MySolution\V1
\Main\Source\bin\W32_Debug\MySolution.pdb.
   [delete] Deleting 0 files.

debug:

 [solution] Starting solution build.
 [solution] Loading projects...
 [solution] Loading 
project 'C:\dev\Sandbox\KevinH\MySolution\V1
\Main\Source\MySolution\MySolution.csproj'.
 [solution] Loading 
project 'C:\dev\Sandbox\KevinH\MySolution\V1
\Main\Source\MySolution.Tests\MySolution.Tests.csproj'.
 [solution] Gathering additional dependencies...
 [solution] Fixing up references...
 [solution] Building MySolution [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 'MySolution':  -> 
C:\dev\Sandbox\KevinH\MySolution\V1
\Main\Source\bin\W32_Debug\MySolution.dll.
 [solution] Building MySolution.Tests [Debug]...
 [solution] Copying references:
 [solution]  - MySolution
                 [copy] Copying 0 files to 
C:\dev\Sandbox\KevinH\MySolution\V1
\Main\Source\Bin\W32_Debug\.
 [solution]  - System.Data
 [solution]  - System.XML
 [solution]  - DotNetMock
                 [copy] Copying 0 files to 
C:\dev\Sandbox\KevinH\MySolution\V1
\Main\Source\Bin\W32_Debug\.
 [solution]  - DotNetMock.Framework
                 [copy] Copying 0 files to 
C:\dev\Sandbox\KevinH\MySolution\V1
\Main\Source\Bin\W32_Debug\.
 [solution]  - System
 [solution]  - nunit.framework

BUILD FAILED

Couldn't find referenced assembly 'C:\dev\Program 
Files\NUnit V2.1\bin\nunit.framework.dll'.

Total time: 0.4 seconds.
--------------------------

In the 'MySolution.Tests' project, the relative reference 
to nunit.framework.dll is correct relative to the nant 
build file location.  Somehow, there is an extra 'dev' 
path entry inserted before 'Program Files' when NAnt is 
trying to locate the NUnit framework.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1000867&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to