Bugs item #1143845, was opened at 2005-02-18 10:11
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=1143845&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: J. De Lorme (delormej)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solution Task does not properly excludeprojects.

Initial Comment:
This is a duplicate of a bug (#901232) that was opened 
in Feb 2004 which doesn't seem to be resolved in 0.85-
rc1:  

Originally Submitted By: Randall Klingelheber 
(rklingelheber)

Initial Comment:
When the solution task attempts to load projects, it 
does not correctly match the projects read in from the 
solution file with the ExcludeProjects fileset. The result, 
of course, is that projects are not excluded.

**It does not take into account the fact that paths 
read in from the solution file are relative paths and the 
FileSet FileNames are full paths.

For example, if your Solution.sln has a relative path such 
as this:

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") 
= "Util", "..\Common\Util\Util.csproj"

and your <solution> task has this:
<excludeprojects>
 <include name="..\Common\Util\Util.csproj" />
</excludeprojects>

When run, NAnt tries to do an exact string compare 
against:

c:\[project-root]\Common\Util\Util.csproj to:
c:\[project-root]\Solution\..\Common\Util\Util.csproj

and does not exclude it.


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to