Greetings,
I'm new to Nant and was just trying to see if it works for my organization.
I was trying to us the solution task on a small project
<?xml version="1.0" ?>
<project name="CalmsTest" default="test">
<target name="test">
<solution configuration="debug"
solutionfile="Solution1.sln"></solution>
</target>
</project>
I received the message below when I attempted to use the build file, I think
the parse error actually relates to the attempt to load and parse the
project file within the solution not the build file.
____________________________________________________________________________
__________________
Building ...
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/extracttest/xxx/Solution1/default.build
test:
[solution] Starting solution build.
Total time: 0 seconds.
BUILD FAILED
INTERNAL ERROR
System.Xml.XmlException: There is invalid data at the root level. Line 1,
position 1.
at System.Xml.XmlTextReader.ParseRoot()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
at System.Xml.XmlValidatingReader.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at NAnt.VSNet.Tasks.Project.LoadXmlDocument(String strFilename)
at NAnt.VSNet.Tasks.Project.IsEnterpriseTemplateProject(String
strFilename)
at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename, ArrayList
alAdditionalProjects, ArrayList alReferenceProjects, TempFileCollection tfc,
Task nanttask)
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug report to [EMAIL PROTECTED]
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.
-------------------------------------------------------
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