473,322 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Problems with nant

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.ScanSecti onsRecursive(XmlTextReader
reader, String configKey)
at System.Configuration.ConfigurationRecord.Load(Stri ng filename)
at
System.Configuration.DefaultConfigurationSystem.Sy stem.Configuration.IConfigurationSystem.Init()
at
System.Configuration.ConfigurationSettings.SetConf igurationSystem(IConfigurationSystem
configSystem)
at System.Configuration.ConfigurationSettings.GetConf ig(String
sectionName)
at System.Configuration.ConfigurationSettings.get_App Settings()
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.GetConf ig(String
sectionName)
at System.Configuration.ConfigurationSettings.get_App Settings()
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
Nov 17 '05 #1
2 2473
Ireneus Broncel <at**@gmx.net> wrote:
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:
<snip>
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Nov 17 '05 #2
We just converted to VS2005 and had a similar problem. Make sure you only
have one /appsetting section. That was what caused our problems.
"Jon Skeet [C# MVP]" wrote:
Ireneus Broncel <at**@gmx.net> wrote:
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:


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

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: hoochiegooch | last post by:
Hi, all. I have a couple of questions about NAnt. 1. Is there a better way to invoke NAnt from a C# "Master Test Rig" than shelling out? IOW, how should an ASP.NET web app or Windows Service...
1
by: Nigel Currie | last post by:
Hi all, I'm having a problem with <nant> tasks to build sub-projects into an overall solution. I have the following directory structure: JobManagerSolution |_ | JobManager |_...
2
by: george r smith | last post by:
I am curious, anyone using NAnt and what are their opinions. thanks grs
0
by: muesliflakes | last post by:
I have figured out how to get this running by using Ant.Console as a starting point for calling NAnt. I had to include NAnt.Core, NAnt.DotNet & NDoc.Core in my project and it worked correctly. ...
2
by: Aditya | last post by:
Hi! I am currently trying to upgrade to the nant 0.84 and was successful in making the necessary changes. I am having a performance issue though. Whenever I have a reference of the form A.D.dll,...
4
by: harleybl | last post by:
Hello, I have a C++ mixed mode dll ( unmanaged/managed ) that wraps a C# dll to provide some functionality for Microsoft Excel. I am able to compile my solution fine in Visual Studio .NET 2003...
12
by: michael sorens | last post by:
So I have compiled a .dll file from a Visual Studio 2005 project containing a few dozen c# files. Now I want to automate this build using ant (have not yet looked at nant, but the rest of my...
0
by: james.mcdonagh | last post by:
Hi I am a newbie using nAnt for .net 2.0. As such I have not come across this bug before, and I would be happy of any help that you may be able to provide. In order to help I have included the...
1
by: jamesmcdonagh | last post by:
Hi newbie using nAnt for .net 2.0. I would be happy of any help that you may be able to provide. The weird thing is that VS.net builds without a problem. And the intellisense within the object...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.