I don't use the solution task, but I'm guessing that the problem is that you
are missing the following at the top of your solution file:

<?xml version="1.0" ?>

- Ants


| -----Original Message-----
| From: [EMAIL PROTECTED] 
| [mailto:[EMAIL PROTECTED] On Behalf Of 
| Kent Boogaart
| Sent: Wednesday, 01 October, 2003 19:49
| To: '[EMAIL PROTECTED]'; 
| '[EMAIL PROTECTED]'
| Subject: [Nant-users] <solution> task problem
| 
| 
| Hi all,
| 
| I am attempting to use a <solution> task to build as follows:
| 
| <solution solutionfile="eSM/eSM.sln" 
| configuration="${c#.build.configuration}"/>
| 
| Doing so yields the following output:
| 
| INTERNAL ERROR
| 
| System.Xml.XmlException: The data at the root level is 
| invalid. 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.Target.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]
| 
| Anyone know what's going on here? I have tried simplifying 
| the task and explicitly stating projects:
| 
| <solution configuration="debug"
|               solutionfile="eSM/eSM.sln"
|               verbose="true">
|       <projects>
|               <includes name="eSM/KernelDLL/KernelDLL.csproj"/>
|               <includes name="eSM/KernelEXE/KernelEXE.csproj"/>
|               <includes name="eSM/Peripheral/Peripheral.csproj"/>
|       </projects>
| </solution>
| 
| This gives the same error though.
| 
| Thanks,
| Kent
| 
| 
| -------------------------------------------------------
| This sf.net email is sponsored by:ThinkGeek
| Welcome to geek heaven.
| http://thinkgeek.com/sf 
| _______________________________________________
| Nant-users mailing list
| [EMAIL PROTECTED] 
| https://lists.sourceforge.net/lists/listinfo/n| ant-users
| 



-------------------------------------------------------
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

Reply via email to