Hi Ruben,
Error in build log as follows:
<failure>
<builderror>
<type>NAnt.Core.BuildException</type>
<message><![CDATA[Error loading project 'C:\Documents and Settings\XXX\My Documents\Visual Studio 2005\Projects\XXX.HeadOffice.Setup\XXX.HeadOffice.Setup.vdproj'.]]></message>
<stacktrace><![CDATA[ at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver referencesResolver, DirectoryInfo outputDir, String projectPath)
at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver referencesResolver, DirectoryInfo outputDir, String path)
at NAnt.VSNet.SolutionBase.LoadProjects(GacCache
gacCache, ReferencesResolver refResolver, Hashtable explicitProjectDependencies)
at NAnt.VSNet.WhidbeySolution..ctor(String solutionContent, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver)
at NAnt.VSNet.WhidbeySolutionProvider.GetInstance(String solutionContent, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver)
at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver)
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at
NAnt.Core.Project.Run()]]></stacktrace>
<internalerror>
<type>System.Xml.XmlException</type>
<message><![CDATA[Data at the root level is invalid. Line 1, position 1.]]></message>
<stacktrace><![CDATA[ at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at
System.Xml.XmlDocument.Load(TextReader txtReader)
at NAnt.VSNet.ProjectFactory.LoadProjectXml(String path)
at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver referencesResolver, DirectoryInfo outputDir, String projectPath)]]></stacktrace>
</internalerror>
</builderror>
</failure>