Problems with nant

  • Thread starter Thread starter Ireneus Broncel
  • Start date Start date
I

Ireneus Broncel

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
 
Ireneus Broncel said:
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:

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?

Have you altered the appSettings part of the config? If so, please post
the configuration here.
 
We just converted to VS2005 and had a similar problem. Make sure you only
have one /appsetting section. That was what caused our problems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top