Shikari,

Can you try using an even more recent nightly build, as error reporting has
been improved for this issue ?  That should give you a pointer as to which
project file cannot be loaded.

Gert

----- Original Message -----
From: "shikari shambu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 09, 2004 11:45 PM
Subject: [nant-dev] bUG Report: Nant build from 8/4


> I have not been able to build using the solution task. Wonder if anyone
has
> successfully built a web project using solution task.
>
> Here is the error I get
>
> 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.LoadXml(String xml)
>    at NAnt.VSNet.ProjectFactory.LoadProjectXml(String path) in
C:\Documents
> and Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.VSNet\ProjectFactory.cs:line 75
>    at NAnt.VSNet.ProjectBase.LoadXmlDocument(String fileName) in
> C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.VSNet\ProjectBase.cs:line 261
>    at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in
> C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.VSNet\Project.cs:line 123
>    at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
> slnTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
> refResolver, DirectoryInfo outputDir, String path) in C:\Documents and
> Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.VSNet\ProjectFactory.cs:line
> 94
>    at NAnt.VSNet.Solution.LoadProjects(GacCache gacCache,
ReferencesResolver
> refResolver) in C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.VSNet\Solution.cs:line 544
>    at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList
> additionalProjects, ArrayList referenceProjects, TempFileCollection tfc,
> SolutionTask solutionTask, WebMapCollection webMaps, FileSet
> excludesProjects, DirectoryInfo outputDir, GacCache gacCache,
> ReferencesResolver refResolver) in C:\D
> ocuments and Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.VSNet\Solution.cs:line 130
>    at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in C:\Documents and
> Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 380
>    at NAnt.Core.Task.Execute() in C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.Core\Task.cs:line 177
>    at NAnt.Core.Target.Execute() in C:\Documents and
Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.Core\Target.cs:line 249
>    at NAnt.Core.Project.Execute(String targetName, Boolean
> forceDependencies) in C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.Core\Project.cs:line 876
>    at NAnt.Core.Project.Execute() in C:\Documents and
> Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.Core\Project.cs:line 833
>    at NAnt.Core.Project.Run() in C:\Documents and Settings\drieseng\Local
> Settings\Temp\tmp442.tmp\src\NAnt.Core\Project.cs:line 903
>
> Please send bug report to [EMAIL PROTECTED]
>
> Total time: 6 seconds.
>
> _________________________________________________________________
> Check out Election 2004 for up-to-date election news, plus voter tools and
> more! http://special.msn.com/msn/election2004.armx
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to