Change "defaultframework" in your NAnt.exe.config to "net-1.1". You can also try "nant -k:net-1.1" which should do roughly the same but for just one build.
Jarek ----- Original Message ----- From: "Kent Boogaart" <[EMAIL PROTECTED]> To: "'Gert Driesen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, October 02, 2003 8:26 AM Subject: RE: [Nant-users] <solution> task problem > Apologies for cross-post. > > I downloaded the nightly build and it definitely gets a lot further than > previously. If I build with VS.NET and then with NANT, it correctly reports > that it does not need to build because the "Project is up-to-date". However, > if I exit VS.NET, clean, and then build with NANT I get very strange > behaviour. I have attached the output of the build attempt. For some reason > it is copying all 1.1 framework DLLs to the output directory before failing > with "The SDK for the net-1.0 framework is not available or not configured". > > Thanks, > Kent > > -----Original Message----- > From: Gert Driesen [mailto:[EMAIL PROTECTED] > Sent: Thursday, 2 October 2003 2:38 PM > To: Kent Boogaart; [EMAIL PROTECTED] > Subject: Re: [Nant-users] <solution> task problem > > > Can you try the same solution using the NAnt 0.8.4 nightly builds > (http://nant.sourceforge.net/nightly/builds) ? > > Thanks, > > Gert > > PS. Please do not cross-post to both the NAnt users and NAnt developers > list. We monitor both lists, so issues posted to the users list will not go > unnoticed. > ----- Original Message ----- > From: "Kent Boogaart" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Thursday, October 02, 2003 4:48 AM > 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/nant-users > > > > > > > ------------------------------------------------------- > 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/nant-users > ------------------------------------------------------- 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/nant-users