Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / November 2005

Tip: Looking for answers? Try searching our database.

Problems with nant

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ireneus Broncel - 21 Oct 2005 09:17 GMT
Maybe I am wrong here, but I have a problem with nant that I don't
unterstand, I'm trying to compile an example ConsoleApp Project with
net-1.1, and get the errror:

log4net:ERROR LogLog: Exception while reading ConfigurationSettings.
Check your .config file is well formed XML.
System.Configuration.ConfigurationException: Unknown configuration
section appSettings
(c:\Development\NET\Tools\nant-0.85-rc3\bin\nant.exe.config line 8)
   at
System.Configuration.ConfigurationRecord.ScanSectionsRecursive(XmlTextReader
reader, String configKey)
   at System.Configuration.ConfigurationRecord.Load(String filename)
   at
System.Configuration.DefaultConfigurationSystem.System.Configuration.IConfigurationSystem.Init()
   at
System.Configuration.ConfigurationSettings.SetConfigurationSystem(IConfigurationSystem
configSystem)
   at System.Configuration.ConfigurationSettings.GetConfig(String
sectionName)
   at System.Configuration.ConfigurationSettings.get_AppSettings()
   at log4net.Util.LogLog..cctor()

Exception: System.Configuration.ConfigurationException: Unknown
configuration section appSettings
(c:\Development\NET\Tools\nant-0.85-rc3\bin\nant.exe.config line 8)
   at System.Configuration.ConfigurationSettings.GetConfig(String
sectionName)
   at System.Configuration.ConfigurationSettings.get_AppSettings()
   at NAnt.Console.ConsoleStub.Main(String[] args)
Unknown signal 79

If I take the section appSettings out of nant.exe.config, than I can
compile the project, BUT I need the appSettings sec. What's going wrong?

Do know anybody something on the subject?

Nant: 0.85 Release Candidate 3
NET: net-1.1
ConsoleApp is written in net 1.1

Thx.
Ireneus
David Thielen - 04 Nov 2005 01:17 GMT
Did you view the config file in XmlSpy or IE or some program to verify that
it is well formed?

Signature

thanks - dave

> Maybe I am wrong here, but I have a problem with nant that I don't
> unterstand, I'm trying to compile an example ConsoleApp Project with
[quoted text clipped - 39 lines]
> Thx.
> Ireneus

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.