It seems that if the solution contains any 'Solution Folders' nant has
trouble figuring out what to do with them. I am going to try adding the
names of all the solution folders to the exclude project list in the build
file but I figured I would shoot this to the list while I was doing that.
In order to duplicate this problem just create a new Solution in VS 2005 -
create a solution folder - add an Windows Form project to the solution
folder - then use a build file like this:
*Build File:*
<project name="nant test" default="rebuild">
<property name="configuration" value="release"/>
<target name="build">
<solution configuration="${configuration}" solutionfile="
nant-test.sln">
</solution>
</target>
</project>
*Here is the output from nant.*
C:\src\trangle\nant-test>nant build
NAnt 0.86 (Build 0.86.2962.0; nightly; 2/10/2008)
Copyright (C) 2001-2008 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/src/trangle/nant-test/default.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build
build:
build.test:
[solution] Starting solution build.
BUILD FAILED
Error checking whether 'C:\src\trangle\nant-test\forms' is an enterprise
templat
e project.
Could not find file 'C:\src\trangle\nant-test\forms'.
Total time: 0.1 seconds.
C:\src\trangle\nant-test>
--
time makes fools of us all,
Ben Siemon
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users