this is test_nant.sln:
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6F2B3596-21A2-493D-85C2-914903051D02}"
ProjectSection(SolutionItems) = preProject
version.h = version.h
EndProjectSection
EndProject
Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
a valid visual studio solution causing failure of task solution
Logged In: YES
user_id=1041945
Originator: YES
Sorry but I missed the bug description, here it is:
The attached test_nant.sln file is a valid visual studio solution, it does not contain projects but it contains only a "Solution Items" folder.
This is the build file:
<?xml version="1.0"?>
<project name="nant test" default="build">
<description>nant test</description>
<target name="build" description="build">
<solution
configuration="release"
solutionfile="test_nant.sln"
verbose="true" />
</target>
</project>
This is the nant output:
NAnt 0.86 (Build 0.86.2898.0; beta1; 08/12/2007)
Copyright (C) 2001-2007 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/ag/doc/progetti/cpp/test_nant/test_nant.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build
build:
[solution] Starting solution build.
BUILD FAILED
Error checking whether 'C:\ag\doc\progetti\cpp\test_nant\Solution Items' is an enterprise template p
roject.
Impossibile trovare il file 'C:\ag\doc\progetti\cpp\test_nant\Solution Items'.
Total time: 0.1 seconds.
I was expecting no error and a successful build.
Thank you very much.
Alessandro
Logged In: YES
user_id=2113604
Originator: NO
Hi
Did you find a solution yet, because I have exactly the same problem.
Thanks in advance,
Marianne